class documentation
class MethodSyncOrAsyncSingleParam(Protocol[
Generic callable type.
Method | __call__ |
Generic callable type callback. |
def __call__(__self, self:
ProtocolSelfType
, __param: ProtocolParamType
) -> Union[ ProtocolReturnType, Awaitable[ ProtocolReturnType]]
:
(source)
¶
Generic callable type callback.