@@ -72,18 +72,20 @@ class SerializationContext(ABC):
7272 Provides contextual information during serialization and deserialization operations.
7373
7474 Examples:
75- - In client code, when starting a workflow, or sending a signal/update/query to a workflow, or
76- receiving the result of an update/query, or handling an exception from a workflow, the context
77- type is :py:class:`WorkflowSerializationContext` and the workflow ID set of the target
78- workflow will be set in the context.
79- - In workflow code, when operating on a payload being sent/received to/from a child workflow, or
80- handling an exception from a child workflow, the context type is
81- :py:class:`WorkflowSerializationContext` and the workflow ID is that of the child workflow,
82- not of the currently executing (i.e. parent) workflow.
83- - In workflow code, when operating on a payload to be sent/received to/from an activity, the
84- context type is :py:class:`ActivitySerializationContext` and the workflow ID is that of the
85- currently-executing workflow. ActivitySerializationContext is also set on data converter
86- operations in the activity context.
75+ In client code, when starting a workflow, or sending a signal/update/query to a workflow,
76+ or receiving the result of an update/query, or handling an exception from a workflow, the
77+ context type is :py:class:`WorkflowSerializationContext` and the workflow ID set of the
78+ target workflow will be set in the context.
79+
80+ In workflow code, when operating on a payload being sent/received to/from a child workflow,
81+ or handling an exception from a child workflow, the context type is
82+ :py:class:`WorkflowSerializationContext` and the workflow ID is that of the child workflow,
83+ not of the currently executing (i.e. parent) workflow.
84+
85+ In workflow code, when operating on a payload to be sent/received to/from an activity, the
86+ context type is :py:class:`ActivitySerializationContext` and the workflow ID is that of the
87+ currently-executing workflow. ActivitySerializationContext is also set on data converter
88+ operations in the activity context.
8789 """
8890
8991 pass
0 commit comments