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.