We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e221c8 commit e201590Copy full SHA for e201590
tests/nexus/test_handler.py
@@ -250,10 +250,9 @@ def __call__(
250
)
251
252
@sync_operation
253
- async def sync_operation_without_type_annotations(
254
- self, ctx: StartOperationContext, input: Input
255
- ) -> Output:
256
- # The input type from the op definition in the service definition is used to deserialize the input.
+ async def sync_operation_without_type_annotations(self, ctx, input):
+ # Despite the lack of type annotations, the input type from the op definition in
+ # the service definition is used to deserialize the input.
257
return Output(
258
value=f"from start method on {self.__class__.__name__} without type annotations: {input}"
259
0 commit comments