镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add a py.typed file for submodule #15334

Closed as not planned
googleapis/python-bigtable
#447

Description

@crwilcox

To be in accordance with PEP 561 we should add a py.typed file to google/cloud/bigtable/py.typed

The file can be empty but does need to be present for some type checkers.

Activity

  1. crwilcox commented on Oct 13, 2021

    @crwilcox
    ContributorAuthor

    Reopening as to be done, we ought to ensure passage. Do note, you may need to run mypy, pyright, pytype against our samples before merging. It will ensure that we aren't exposing users to failing type checks.

    Ideally we would add this to CI as well, to avoid future breakage.

  2. self-assigned this
    on Oct 13, 2021
  3. crwilcox commented on Oct 14, 2021

    @crwilcox
    ContributorAuthor

    TODO: googleapis/python-bigtable#448 is merged, but currently the code as merged is validating the package, google.cloud.bigtable.

    We want to evaluate mypy against google and tests

    Once https://github.com/proxy/www.github.com/googleapis/gapic-generator-python/issues/1026 is addressed, we should be unblocked to wrap this up.

  4. assigned and unassigned on Oct 18, 2021
  5. asottile-sentry commented on Sep 26, 2022

    @asottile-sentry
    Contributor

    the py.typed file was added to this package, but the functions aren't actually typed leading to lots of errors of the type:

    error: Call to untyped function "Client" in typed context  [no-untyped-call]
    
  6. assigned and unassigned on Jan 19, 2023
  7. parthea commented on Jan 12, 2026

    @parthea
    Contributor

    Transferring to google-cloud-python as the code for python-bigtable will be migrated there in 1-3 weeks.

  8. daniel-sanche commented on May 28, 2026

    @daniel-sanche
    Contributor

    This issue is being bulk closed due to inactivity. Please re-open if you think this still requires attention, and we'll take another look. Thanks!

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

    api: bigtableIssues related to the Bigtable API.type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions