Skip to content

PEP 249 Python Database API Specification v2.0 #1037

Closed

Description

@Stiivi

The DB API 2 type annotations are not provided in a shared module. They are mostly included as private types of modules implementing the API, such as sqlite3 or mysql

This should be a module with types importable by any other module that implements the DB2 API or uses DB2 API functionality, such as SQLAlchemy Connectable or RowProxy (see #1029).

Activity

  1. JelleZijlstra commented on Dec 16, 2021

    @JelleZijlstra
    Member

    Going to close this since it's been open for a long time with no progress. Also, with PEP 561 now around this doesn't need to be done through typeshed.

  2. srittau commented on Dec 21, 2021

    @srittau
    Collaborator

    Actually, I'm just about to add some DB API types for SQLAlchemy to _typeshed. So I'm going to reopen this for a bit.

  3. added a commit that references this issue on Dec 21, 2021
    20d68e7
  4. added a commit that references this issue on Dec 22, 2021
    0095536
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: requestOUTDATED! Request to add stubs for a new package to typeshed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions