GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — fix: annotate optional integer parameters with optional type by tswast · Pull Request #1487 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Conversation
|
|
General question: what was the criteria for deciding which parameters should get the enhanced Type Annotation? Noticed some other |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Added a general question to the comment thread.
Beyond that question, this LGTM.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Our approach was: when you touch a method, add type annotations. At the time, that meant we could also remove the type information from the docstring because it was then redundant information from what Sphinx generated and what we put in the docstring. Looks to be the same with https://cloud.google.com/python/docs/reference/bigquery/latest/google.cloud.bigquery.client.Client but I'm not 100% sure how the linking works over there since they don't use intersphinx. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…pis#1487) * fix: annotate optional integer parameters with optional type * remove google-cloud-core reference causing type checker issues deps: update minimum google-cloud-core to 1.6.0
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
increase minimum version of google-cloud-core to 1.6.0
There was an error while loading. Please reload this page.