Skip to content

Fix mypy presubmit failure for the generated libraries. #15533

Closed

Description

@ohmayr

mypy presubmit is failing on #15532. On a first glance, the issue seems to be related to types not being ignored for bigquery storage as per the following log:

using --check-untyped-defs  [annotation-unchecked]
.nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/bigquery_storage_v1beta2/__init__.py:98: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
Found 2 errors in 1 file (checked 87 source files)
nox > Command mypy -p google failed with exit code 1
nox > Session mypy-3.14 failed.

Investigate and fix the issue

Activity

  1. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on Feb 6, 2026
  2. self-assigned this
    on Feb 6, 2026
  3. added a commit that references this issue on Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions