class documentation
class ActivitySpanData(SpanData): (source)
Constructor: ActivitySpanData(activity_id, activity_type, task_queue, schedule_to_close_timeout, ...)
Captures fields from ActivityTaskScheduledEventAttributes for tracing.
| Method | __init__ |
Initialize an ActivitySpanData instance. |
| Method | export |
Export the span data as a dictionary. |
| Instance Variable | activity |
Undocumented |
| Instance Variable | activity |
Undocumented |
| Instance Variable | heartbeat |
Undocumented |
| Instance Variable | schedule |
Undocumented |
| Instance Variable | schedule |
Undocumented |
| Instance Variable | start |
Undocumented |
| Instance Variable | task |
Undocumented |
| Property | type |
Return the type of this span data. |
def __init__(self, activity_id:
str, activity_type: str, task_queue: str, schedule_to_close_timeout: float | None = None, schedule_to_start_timeout: float | None = None, start_to_close_timeout: float | None = None, heartbeat_timeout: float | None = None):
(source)
¶
Initialize an ActivitySpanData instance.