-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.status: will not fixInvalid (untrue/unsound/erroneous), inconsistent with product, not on roadmap.Invalid (untrue/unsound/erroneous), inconsistent with product, not on roadmap.
Description
Thanks for stopping by to let us know something could be better!
Environment details
- OS type and version: Windows 11
- Python version: 3.9.6
- pip version: 23.1.2
google-cloud-bigqueryversion: 3.11.3mypyversion: 1.4.1
Steps to reproduce
- Create a file
test.pywith the following contents:
from google.cloud import bigquery
ref = bigquery.DatasetReference("my-project", "my_dataset")
- Run
mypy test.py --disallow-untyped-calls
Code example
See above
Stack trace
test.py:3: error: Call to untyped function "DatasetReference" in typed context [no-untyped-call]
Found 1 error in 1 file (checked 1 source file)
Solution
To solve the problem, type annotations need to be added to the constructor of bigquery.DatasetReference
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.status: will not fixInvalid (untrue/unsound/erroneous), inconsistent with product, not on roadmap.Invalid (untrue/unsound/erroneous), inconsistent with product, not on roadmap.