Skip to main content

class Automations

(service_api: 'ServiceApi',
variables: 'Mapping[str, Any]',
per_page: 'int' = 50, *,
start: 'str | None' = None,
_query: 'str',
omit_variables: 'Iterable[str] | None' = None,
omit_fragments: 'Iterable[str] | None' = None,
omit_fields: 'Iterable[str] | None' = None,
rename_fields: 'Mapping[str, str] | None' = None)

Description

A lazy iterator of Automation objects.

Args

  • service_api:
  • variables:
  • per_page:
  • start:
  • _query:
  • omit_variables:
  • omit_fragments:
  • omit_fields:
  • rename_fields:

Methods

method convert_objects

self
Convert the last fetched response data into the iterated objects.

method next

self
Return the next item from the iterator. When exhausted, raise StopIteration

method update_variables

self
Update the query variables for the next page fetch.