diff --git a/temporalio/types.py b/temporalio/types.py index a756d328..331c9596 100644 --- a/temporalio/types.py +++ b/temporalio/types.py @@ -82,7 +82,7 @@ class MethodAsyncSingleParam( """Generic callable type.""" def __call__( - self, __self: ProtocolSelfType, __arg: ProtocolParamType + self, __self: ProtocolSelfType, __arg: ProtocolParamType, / ) -> Awaitable[ProtocolReturnType]: """Generic callable type callback.""" ... @@ -94,7 +94,7 @@ class MethodSyncSingleParam( """Generic callable type.""" def __call__( - self, __self: ProtocolSelfType, __arg: ProtocolParamType + self, __self: ProtocolSelfType, __arg: ProtocolParamType, / ) -> ProtocolReturnType: """Generic callable type callback.""" ... @@ -116,7 +116,7 @@ class MethodSyncOrAsyncSingleParam( """Generic callable type.""" def __call__( - self, __self: ProtocolSelfType, __param: ProtocolParamType + self, __self: ProtocolSelfType, __param: ProtocolParamType, / ) -> Union[ProtocolReturnType, Awaitable[ProtocolReturnType]]: """Generic callable type callback.""" ...