abacusai.daemon_task_event
Classes
One delivery to an event-based daemon task (a webhook, inbox or test event that was dispatched as a run). |
Module Contents
- class abacusai.daemon_task_event.DaemonTaskEvent(client, daemonTaskVersion=None, deploymentConversationId=None, lifecycle=None, failureReason=None, isLimitBlocked=None, isTestRun=None, sequenceNumber=None, createdAt=None, updatedAt=None, source=None, eventType=None, payload=None)
Bases:
abacusai.return_class.AbstractApiClassOne delivery to an event-based daemon task (a webhook, inbox or test event that was dispatched as a run).
- Parameters:
client (ApiClient) – An authenticated API Client instance
daemonTaskVersion (str) – The id of the run the event dispatched.
deploymentConversationId (str) – The run conversation.
lifecycle (str) – The run lifecycle (PENDING, EXECUTING, COMPLETED, FAILED, WAITING_FOR_USER_INPUT).
failureReason (str) – Why the run failed, when it did.
isLimitBlocked (bool) – Whether the run was skipped by a credit/plan limit rather than failing.
isTestRun (bool) – Whether the user sent the event as a test.
sequenceNumber (int) – 0-based run number.
createdAt (str) – When the event arrived.
updatedAt (str) – When the run last changed lifecycle.
source (str) – Where the event came from (github, slack, gmail, webhook, …).
eventType (str) – The source’s event type (pull_request, email_received, test, …).
payload (dict) – The event payload as delivered.
- daemon_task_version = None
- deployment_conversation_id = None
- lifecycle = None
- failure_reason = None
- is_limit_blocked = None
- is_test_run = None
- sequence_number = None
- created_at = None
- updated_at = None
- source = None
- event_type = None
- payload = None
- deprecated_keys
- __repr__()