Iterate over function schedules

async AsyncCogniteClient.functions.schedules.__call__(
chunk_size: int | None = None,
name: str | None = None,
function_id: int | None = None,
function_external_id: str | None = None,
created_time: dict[str, int] | TimestampRange | None = None,
cron_expression: str | None = None,
limit: int | None = None,
) AsyncIterator[FunctionSchedule] | AsyncIterator[FunctionSchedulesList]

Iterate over function schedules

Parameters:
  • chunk_size (int | None) – The number of schedules to return in each chunk. Defaults to yielding one schedule a time.

  • name (str | None) – Name of the function schedule.

  • function_id (int | None) – ID of the function the schedules are linked to.

  • function_external_id (str | None) – External ID of the function the schedules are linked to.

  • created_time (dict[str, int] | TimestampRange | None) – Range between two timestamps. Possible keys are min and max, with values given as time stamps in ms.

  • cron_expression (str | None) – Cron expression.

  • limit (int | None) – Maximum schedules to return. Defaults to return all schedules.

Yields:

FunctionSchedule | FunctionSchedulesList – Function schedules.