File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -1760,7 +1760,7 @@ class UserMethodCalledError(Exception):
17601760
17611761
17621762class CustomEncodingPayloadConverter (
1763- EncodingPayloadConverter , WithSerializationContext
1763+ JSONPlainPayloadConverter , WithSerializationContext
17641764):
17651765 @property
17661766 def encoding (self ) -> str :
@@ -1770,16 +1770,6 @@ def __init__(self):
17701770 super ().__init__ ()
17711771 self .context : Optional [SerializationContext ] = None
17721772
1773- def to_payload (self , value : Any ) -> temporalio .api .common .v1 .Payload :
1774- return super ().to_payload (value )
1775-
1776- def from_payload (
1777- self ,
1778- payload : temporalio .api .common .v1 .Payload ,
1779- type_hint : Optional [Type ] = None ,
1780- ) -> Any :
1781- raise NotImplementedError
1782-
17831773 def with_context (
17841774 self , context : Optional [SerializationContext ]
17851775 ) -> CustomEncodingPayloadConverter :
You can’t perform that action at this time.
0 commit comments