Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify optional parameters in Airbyte docstrings #30031

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

josh-fell
Copy link
Contributor

There were a few inconsistencies in the Airbyte module docstrings which called out required parameters even though those parameters had default values.

There were a few inconsistencies in the Airbyte module docstrings which called out required parameters even though those parameters had default values.
Comment on lines +57 to +60
asynchronous: bool = False,
api_version: str = "v1",
wait_seconds: float = 3,
timeout: float | None = 3600,
timeout: float = 3600,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleaned up some typing as well.

Copy link
Contributor

@ferruzzi ferruzzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I love seeing default values in the docs like that

@potiuk potiuk merged commit 8cec8cd into apache:main Mar 11, 2023
@josh-fell josh-fell deleted the airbyte-params branch March 12, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants