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: Improve typecheck in calc_md5 #7255

Merged
merged 2 commits into from Aug 31, 2023
Merged

Fix: Improve typecheck in calc_md5 #7255

merged 2 commits into from Aug 31, 2023

Conversation

mayagbarnes
Copy link
Collaborator

Describe your changes

Update check to isinstance(s, str) instead of type(s) is str -> check not broad enough to catch all str-like objects.

GitHub Issue Link (if applicable)

Closes #6455

Copy link
Collaborator

@LukasMasuch LukasMasuch left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@mayagbarnes mayagbarnes merged commit cc5520a into develop Aug 31, 2023
58 of 61 checks passed
@mayagbarnes mayagbarnes deleted the calc_md5 branch August 31, 2023 19:16
eric-skydio pushed a commit to eric-skydio/streamlit that referenced this pull request Dec 20, 2023
Update check to isinstance(s, str) instead of type(s) is str -> check not broad enough to catch all str-like objects.
zyxue pushed a commit to zyxue/streamlit that referenced this pull request Mar 22, 2024
Update check to isinstance(s, str) instead of type(s) is str -> check not broad enough to catch all str-like objects.
zyxue pushed a commit to zyxue/streamlit that referenced this pull request Apr 16, 2024
Update check to isinstance(s, str) instead of type(s) is str -> check not broad enough to catch all str-like objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants