Skip to content

add dbapi in typeshed? #3216

Closed
Closed

Description

@ZeeD

is there some plan to add the pep249 dbapi into typeshed? as it is formalized, maybe can be shared across the various db libraries

Activity

  1. srittau commented on Sep 2, 2019

    @srittau
    Collaborator

    I actually had briefly thought about this myself and we have something similar for WSGI (PEP 3333) in wsgiref/types.pyi. A practical problem is that since those types do not exist at runtime, in implementations their import needs to be guarded with if TYPE_CHECKING:. Overall I'm in favor of this idea, but I'd be interested what other typeshed maintainers think.

  2. JelleZijlstra commented on Dec 22, 2021

    @JelleZijlstra
    Member

    Done in #6643.

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

    project: policyOrganization of the typeshed project

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions