-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
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
| def is_record_type(model: ModelBase, expected_type: t.Union[str, types.ModuleType]) -> bool: |
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
MarshalX
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers