Skip to content

Conversation

drcongo
Copy link
Contributor

@drcongo drcongo commented Nov 20, 2024

Small fix to the typing, wherever :str = None is used the str type needs to be wrapped in Optional as None is not a string. This fixes it for users who run tools like Typeguard.

@rohan-chaturvedi rohan-chaturvedi self-requested a review November 20, 2024 11:58
Copy link
Member

@rohan-chaturvedi rohan-chaturvedi left a comment

Choose a reason for hiding this comment

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

@drcongo Thanks for the fix, and for cleaning up the imports too!
This lgtm, @nimish-ks could you give this a once-over too?

@nimish-ks
Copy link
Member

cheers 🍻 @drcongo

@nimish-ks nimish-ks merged commit 74d3ad0 into phasehq:main Nov 20, 2024
1 check passed
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.

3 participants