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 1e9b241 commit ad437eeCopy full SHA for ad437ee
1 file changed
temporalio/client/_impl.py
@@ -693,9 +693,6 @@ async def describe_activity(
693
metadata=input.rpc_metadata,
694
timeout=input.rpc_timeout,
695
)
696
- activity_type = (
697
- resp.info.activity_type.name if resp.info.HasField("activity_type") else ""
698
- )
699
return await ActivityExecutionDescription._from_execution_info(
700
info=resp.info,
701
long_poll_token=resp.long_poll_token or None,
@@ -705,7 +702,7 @@ async def describe_activity(
705
702
namespace=self._client.namespace,
706
703
activity_id=resp.info.activity_id,
707
704
activity_task_queue=resp.info.task_queue,
708
- activity_type=activity_type,
+ activity_type=resp.info.activity_type.name,
709
workflow_id=None,
710
workflow_type=None,
711
is_local=False,
0 commit comments