Skip to main content

prefect.automations

Classes

Automation

Methods:

acreate

Asynchronously create a new automation. Examples:

adelete

Asynchronously delete an automation. Examples:

adisable

Asynchronously disable an automation. Raises:
  • ValueError: If the automation does not have an id
  • PrefectHTTPStatusError: If the automation cannot be disabled
Example:

aenable

Asynchronously enable an automation. Raises:
  • ValueError: If the automation does not have an id
  • PrefectHTTPStatusError: If the automation cannot be enabled
Example:

aread

aread

aread

Asynchronously read an automation by ID or name. Examples:

aupdate

Updates an existing automation. Examples:

create

Create a new automation. Examples:

delete

Delete an automation. Examples:

disable

Disable an automation. Raises:
  • ValueError: If the automation does not have an id
  • PrefectHTTPStatusError: If the automation cannot be disabled
Example:

enable

Enable an automation. Raises:
  • ValueError: If the automation does not have an id
  • PrefectHTTPStatusError: If the automation cannot be enabled
Example:

read

read

read

Read an automation by ID or name. Examples:

update

Updates an existing automation. Examples: