exception documentation

Thrown by a client when an activity execution has already started.

Method __init__ Initialize a workflow already started error.
Instance Variable activity_id ID of the already-started activity.
Instance Variable activity_type Activity type name of the already-started activity.
Instance Variable run_id Run ID of the already-started activity if this was raised by the client.

Inherited from FailureError:

Property failure Underlying protobuf failure object.
Property message Message.
Instance Variable _failure Undocumented
Instance Variable _message Undocumented

Inherited from TemporalError (via FailureError):

Property cause Cause of the exception.
def __init__(self, activity_id: str, activity_type: str, *, run_id: str | None = None): (source)

Initialize a workflow already started error.

activity_id = (source)

ID of the already-started activity.

activity_type = (source)

Activity type name of the already-started activity.

Run ID of the already-started activity if this was raised by the client.