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

fix: Make str to bool noop if input is bool #1499

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Conversation

czgu
Copy link
Collaborator

@czgu czgu commented Oct 18, 2024

Note: had to bump flake8 to make pre-commit working. Also made the fix in another PR: #1498

In some use cases of str_to_bool, we are actually passing bool which made the function throw an error, added a fix so that bool input would just be an noop

@czgu czgu requested a review from jczhong84 October 18, 2024 00:23
@czgu czgu merged commit ee25d74 into pinterest:master Oct 18, 2024
3 checks passed
@czgu czgu deleted the str_to_boolfix branch October 18, 2024 19:41
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