Skip to content

Commit adf8bc3

Browse files
committed
Do not support None context
1 parent a0f4c63 commit adf8bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

temporalio/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class WithSerializationContext(ABC):
139139
during serialization and deserialization.
140140
"""
141141

142-
def with_context(self, context: Optional[SerializationContext]) -> Self:
142+
def with_context(self, context: SerializationContext) -> Self:
143143
"""Return a copy of this object configured to use the given context.
144144
145145
Args:

0 commit comments

Comments
 (0)