Skip to content

Commit b72f2b7

Browse files
committed
Cleanup
1 parent 622b778 commit b72f2b7

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

temporalio/converter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,7 @@ def with_context(self, context: SerializationContext) -> Self:
434434
if not any_with_context:
435435
return self
436436

437-
# A user who has created a subclass with a non-nullary constructor must override this
438-
# method.
437+
# Must have a nullary constructor
439438
new_instance = type(self)()
440439
new_instance._set_converters(*converters)
441440
return new_instance

tests/test_serialization_context.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,6 @@ async def test_async_activity_completion_payload_conversion(
583583
await activity_handle.complete(data)
584584
result = await wf_handle.result()
585585

586-
print()
587-
for item in result.items:
588-
print(item)
589-
590586
activity_context_dict = dataclasses.asdict(activity_context)
591587
workflow_context_dict = dataclasses.asdict(workflow_context)
592588

0 commit comments

Comments
 (0)