Skip to content

[SPARK-46023][PYTHON][DOCS] Annotate parameters at docstrings in pyspark.sql module#43925

Closed
HyukjinKwon wants to merge 2 commits into
apache:masterfrom
HyukjinKwon:SPARK-46023
Closed

[SPARK-46023][PYTHON][DOCS] Annotate parameters at docstrings in pyspark.sql module#43925
HyukjinKwon wants to merge 2 commits into
apache:masterfrom
HyukjinKwon:SPARK-46023

Conversation

@HyukjinKwon
Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR proposes to annotate parameters at docstrings in pyspark.sql module, especially about Optional[...].

Why are the changes needed?

For correct documentation to the end users.

Does this PR introduce any user-facing change?

Yes it fixes the user-facing documentation.

How was this patch tested?

Existing linter checks should be sufficient.

Was this patch authored or co-authored using generative AI tooling?

No.

Parameters
----------
pattern : str
pattern : str, optional
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@HyukjinKwon
Copy link
Copy Markdown
Member Author

Merged to master.

@HyukjinKwon HyukjinKwon deleted the SPARK-46023 branch January 15, 2024 00:47
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