Get the exact list of attributes/methods checked by @runtime_checkable
decorated Protocol
class.
#1470
Answered
by
Gobot1234
randolf-scholz
asked this question in
Q&A
-
For a given |
Beta Was this translation helpful? Give feedback.
Answered by
Gobot1234
Sep 18, 2023
Replies: 1 comment 1 reply
-
Python 3.13 added a function to help, with this https://docs.python.org/3.13/library/typing.html#typing.get_protocol_members |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
randolf-scholz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python 3.13 added a function to help, with this https://docs.python.org/3.13/library/typing.html#typing.get_protocol_members