temporalio.activity.Info

Information about the running activity.

Retrieved inside an activity via info.

Class Variable activity_id Undocumented
Class Variable activity_run_id Run ID of this activity. None for workflow activities.
Class Variable activity_type Undocumented
Class Variable attempt Undocumented
Class Variable current_attempt_scheduled_time Undocumented
Class Variable heartbeat_details Undocumented
Class Variable heartbeat_timeout Undocumented
Class Variable is_local Undocumented
Class Variable namespace Undocumented
Class Variable priority Undocumented
Class Variable retry_policy The retry policy of this activity.
Class Variable schedule_to_close_timeout Undocumented
Class Variable scheduled_time Undocumented
Class Variable start_to_close_timeout Undocumented
Class Variable started_time Undocumented
Class Variable task_queue Undocumented
Class Variable task_token Undocumented
Class Variable workflow_id ID of the workflow. None if the activity was not started by a workflow.
Class Variable workflow_namespace Namespace of the workflow. None if the activity was not started by a workflow.
Class Variable workflow_run_id Run ID of the workflow. None if the activity was not started by a workflow.
Class Variable workflow_type Type of the workflow. None if the activity was not started by a workflow.
Property in_workflow Was this activity started by a workflow?
Method _logger_details Undocumented

Run ID of this activity. None for workflow activities.

The retry policy of this activity.

Note that the server may have set a different policy than the one provided when scheduling the activity. If the value is None, it means the server didn't send information about retry policy (e.g. due to old server version), but it may still be defined server-side.

ID of the workflow. None if the activity was not started by a workflow.

Namespace of the workflow. None if the activity was not started by a workflow.

Deprecated since version Use: namespace instead.

Run ID of the workflow. None if the activity was not started by a workflow.

Type of the workflow. None if the activity was not started by a workflow.

Was this activity started by a workflow?