Skip to content

Fix missing kwargs in load/reload documentation - #4841

Open
aoright wants to merge 1 commit into
boto:developfrom
aoright:fix-load-docs
Open

Fix missing kwargs in load/reload documentation#4841
aoright wants to merge 1 commit into
boto:developfrom
aoright:fix-load-docs

Conversation

@aoright

@aoright aoright commented Sep 11, 2026

Copy link
Copy Markdown

Fix missing kwargs in load/reload documentation

Fixes #3498.

Previously, document_load_reload_action passed an empty OperationModel when generating documentation for load() and reload() methods, which resulted in an empty method signature. This PR changes it to extract the underlying operation model (e.g., HeadObject) and passes it to document_model_driven_resource_method, successfully restoring the arguments and their types in the generated documentation.

Fixes boto#3498.

Previously, `document_load_reload_action` passed an empty `OperationModel` when generating documentation for `load()` and `reload()` methods, which resulted in an empty method signature. This PR changes it to extract the underlying operation model (e.g., `HeadObject`) and passes it to `document_model_driven_resource_method`, successfully restoring the arguments and their types in the generated documentation.
@aoright
aoright requested a review from a team as a code owner September 11, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undocumented kwargs for S3.Object.load()/reload()

1 participant