You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This raises an exception here because get_semantic returns None.
According to the type annotation get_semantic returns a non-optional string and therefore should not return None. Is the type annotation wrong? How should the code handle the above case?
The text was updated successfully, but these errors were encountered:
Hi, thanks for building this library! We recently upgraded from version 1.3.2 to 2.2.1 and some of our tests are now failing. For example if we do
This raises an exception here because
get_semantic
returnsNone
.According to the type annotation
get_semantic
returns a non-optional string and therefore should not return None. Is the type annotation wrong? How should the code handle the above case?The text was updated successfully, but these errors were encountered: