This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Description See output here https://github.com/googleapis/gapic-generator-python/actions/runs/4196535511/jobs/7277634221 from PR #1599
nox > mypy --explicit-package-bases google
google/cloud/asset_v1/services/asset_service/transports/rest.py:485: error: Dict entry 0 has incompatible type "str": "Dict[<nothing>, <nothing>]"; expected "str": "str" [dict-item]
The issue also appears in https://github.com/googleapis/python-bigtable/actions/runs/4196460916/jobs/7277462654 in googleapis/python-bigtable#734
Run nox -s mypy
nox > Running session mypy
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/mypy
nox > python -m pip install -e .
nox > python -m pip install mypy types-setuptools types-protobuf types-mock
nox > python -m pip install google-cloud-testutils
nox > mypy google/ tests/
google/cloud/bigtable_v2/services/bigtable/transports/rest.py:30: error: Library stubs not installed for "requests" [import]
google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest.py:31: error: Library stubs not installed for "requests" [import]
google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest.py:3152: error: Dict entry 0 has incompatible type "str": "Dict[<nothing>, <nothing>]"; expected "str": "str" [dict-item]
google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest.py:3251: error: Dict entry 0 has incompatible type "str": "Dict[<nothing>, <nothing>]"; expected "str": "str" [dict-item]
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:31: error: Library stubs not installed for "requests" [import]
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:31: note: Hint: "python3 -m pip install types-requests"
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:31: note: (or run "mypy --install-types" to install all missing stub packages)
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:31: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:[11](https://github.com/googleapis/python-bigtable/actions/runs/4196460916/jobs/7277462654#step:5:12)29: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:2[17](https://github.com/googleapis/python-bigtable/actions/runs/4196460916/jobs/7277462654#step:5:18)1: error: Dict entry 0 has incompatible type "str": "Dict[<nothing>, <nothing>]"; expected "str": "str" [dict-item]
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:[22](https://github.com/googleapis/python-bigtable/actions/runs/4196460916/jobs/7277462654#step:5:23)73: error: Dict entry 0 has incompatible type "str": "Dict[<nothing>, <nothing>]"; expected "str": "str" [dict-item]
google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py:[26](https://github.com/googleapis/python-bigtable/actions/runs/4196460916/jobs/7277462654#step:5:27)43: error: Dict entry 0 has incompatible type "str": "Dict[<nothing>, <nothing>]"; expected "str": "str" [dict-item]
Found 9 errors in 3 files (checked 91 source files)
nox > Command mypy google/ tests/ failed with exit code 1
nox > Session mypy failed.
Reactions are currently unavailable
See output here https://github.com/googleapis/gapic-generator-python/actions/runs/4196535511/jobs/7277634221 from PR #1599
The issue also appears in https://github.com/googleapis/python-bigtable/actions/runs/4196460916/jobs/7277462654 in googleapis/python-bigtable#734