8000 docs: specify the inherited-members directive for job classes by shollyman · Pull Request #2244 · googleapis/python-bigquery · GitHub
[go: up one dir, main page]

Skip to content

Conversation

shollyman
Copy link
Contributor
@shollyman shollyman commented Jul 21, 2025

It seems that versions of python earlier than 3.10 may have had issues processing inherited members annotations, and accidentally include inherited members by default.

As we recently worked to excise older versions of python in this repo, it seems we're now correctly processing sphinx directives, which means we no longer emit docstrings for inherited members.

This PR adds a minor sphinx directive to include inherited members for the job classes, and I've confirmed locally by running the docsfx nox job that the inherited members do now get included in the docfx_yaml output.

internal: b/432470466

It seems that versions of python earlier than 3.10 may have had issues
processing inherited members annotations, and accidentally include
inherited members by default.

As we recently worked to excise older versions of python in this repo,
it seems we're now correctly processing sphinx directives, which means
we no longer emit docstrings for inherited members.

This PR adds a minor sphinx directive to include inherited members
for the job classes, and I've confirmed locally by running the `docsfx`
nox job that the inherited members do now get included in the docfx_yaml
output.
@shollyman shollyman requested review from Linchin and chalmerlowe July 21, 2025 21:40
@shollyman shollyman requested review from a team as code owners July 21, 2025 21:40
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigquery Issues related to the googleapis/python-bigquery API. labels Jul 21, 2025
@Linchin Linchin merged commit d207f65 into googleapis:main Jul 21, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0