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
Bug Fix: Fixed several issues with logic that performs protocol matching against a module, including a false positive error when matching against a generic protocol.
Here's my current (incomplete) approach, if anyone's interested:
Also need to consider that this actually isn't quite the same as an is_instance check so we should be careful not to assert too much about the type via the TypeGuard.
Would it be possible to utilise TypeGuard on this function in order to leverage the return value at the callsite for static type checking?
atproto/atproto/xrpc_client/models/utils.py
Line 202 in d5e2293
I'd do it myself but I don't feel I understand enough about the details of the library at this point to get it right
The text was updated successfully, but these errors were encountered: