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

Refine documentation for Transformed::{update,map,transform})_data #10355

Merged
merged 2 commits into from
May 3, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented May 2, 2024

Which issue does this PR close?

Part of #10121

Rationale for this change

I continually get confused between when to use Transformed::update_data, Transformed::map_data, and Transformed::transform_data -- it would be nice for the docstrings to make it clear what the usecase is for each one

What changes are included in this PR?

Clarify the docstrings to hopefully make it clearer what each does

Are these changes tested?

CI

Are there any user-facing changes?

Better docs, no functional changes

@alamb
Copy link
Contributor Author

alamb commented May 2, 2024

BTW These APIs are really powerful (kudos to @peter-toth ) -- it makes rewriting plans very easy

@alamb alamb added the documentation Improvements or additions to documentation label May 2, 2024
Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm thanks @alamb

@github-actions github-actions bot removed the documentation Improvements or additions to documentation label May 2, 2024
@alamb alamb merged commit 6480020 into apache:main May 3, 2024
23 checks passed
@alamb
Copy link
Contributor Author

alamb commented May 3, 2024

Thanks again @comphead

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.

2 participants