Skip to content

Switch put_pii to keyword arguments#9605

Merged
zachmargolis merged 1 commit intomainfrom
margolis-put-pii-keywords
Nov 15, 2023
Merged

Switch put_pii to keyword arguments#9605
zachmargolis merged 1 commit intomainfrom
margolis-put-pii-keywords

Conversation

@zachmargolis
Copy link
Contributor

Implementing my own post-hoc suggestion in previous PR #9596 (comment)

Why: Provides additional clarity, makes it harder to mix up than ordered arguments

(peer-reviewed version of 8240c4b, which was reverted in #9604)

**Why**: Provides additional clarity, makes it harder to mix
up than ordered arguments

changelog: Internal, Source code, Refactor source code
@zachmargolis zachmargolis requested review from a team and jmhooper November 15, 2023 23:00
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

Looks good! Sometimes keyword args seem like lots of extra typing, but it sure reads better.

@zachmargolis
Copy link
Contributor Author

Looks good! Sometimes keyword args seem like lots of extra typing, but it sure reads better.

luckily we don't have a character quota ;) ;)

@zachmargolis zachmargolis merged commit 1a136fd into main Nov 15, 2023
@zachmargolis zachmargolis deleted the margolis-put-pii-keywords branch November 15, 2023 23:17
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