abacusai.project_subscription_schedule

Classes

ProjectSubscriptionSchedule

One schedule that wakes a project's coordinator (its check-in or a named task)

Module Contents

class abacusai.project_subscription_schedule.ProjectSubscriptionSchedule(client, name=None, kind=None, cadence=None, cron=None, timezone=None, maxRuns=None, state=None, daemonTaskId=None, lastRunLifecycle=None, lastRunAt=None, webhookUrl=None)

Bases: abacusai.return_class.AbstractApiClass

One schedule that wakes a project’s coordinator (its check-in or a named task)

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • name (str) – Display name.

  • kind (str) – heartbeat or task.

  • cadence (str) – Human-readable cadence, e.g. “daily at 09:00” or “on event”.

  • cron (str) – The 5-field cron expression, for a free-form cron schedule only.

  • timezone (str) – IANA zone the cadence is expressed in.

  • maxRuns (int) – How many times the schedule fires in total, when it is capped.

  • state (str) – The schedule’s own lifecycle: ACTIVE, COMPLETED (it will not fire again) or PAUSED.

  • daemonTaskId (str) – The backing scheduled task.

  • lastRunLifecycle (str) – Lifecycle of the newest run, when any.

  • lastRunAt (str) – ISO-8601 time of the newest run, when any.

  • webhookUrl (str) – Signed URL that fires an event task.

name = None
kind = None
cadence = None
cron = None
timezone = None
max_runs = None
state = None
daemon_task_id = None
last_run_lifecycle = None
last_run_at = None
webhook_url = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict