We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84be986 commit 8bb5935Copy full SHA for 8bb5935
temporalio/workflow.py
@@ -1466,13 +1466,14 @@ def process(
1466
self, msg: Any, kwargs: MutableMapping[str, Any]
1467
) -> Tuple[Any, MutableMapping[str, Any]]:
1468
"""Override to add workflow details."""
1469
+ extra: Dict[str, Any] = {}
1470
+ msg_extra: Dict[str, Any] = {}
1471
+
1472
if (
1473
self.workflow_info_on_message
1474
or self.workflow_info_on_extra
1475
or self.full_workflow_info_on_extra
1476
):
- extra: Dict[str, Any] = {}
- msg_extra: Dict[str, Any] = {}
1477
runtime = _Runtime.maybe_current()
1478
if runtime:
1479
workflow_details = runtime.logger_details
0 commit comments