Skip to content

Commit f677ef0

Browse files
committed
Break feature
1 parent 2ea91d0 commit f677ef0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

temporalio/converter.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,11 @@ def with_context(self, context: SerializationContext) -> Self:
433433
if not any_with_context:
434434
return self
435435

436-
new_instance = type(self)()
436+
new_instance = (
437+
CompositePayloadConverter()
438+
) # FIXME: deliberate temporary wrong class
437439
new_instance._set_converters(*converters)
438-
return new_instance
440+
return new_instance # type: ignore
439441

440442

441443
class DefaultPayloadConverter(CompositePayloadConverter):

0 commit comments

Comments
 (0)