Retrieve multiple transformation schedules
- async AsyncCogniteClient.transformations.schedules.retrieve_multiple(
- ids: Sequence[int] | None = None,
- external_ids: SequenceNotStr[str] | None = None,
- ignore_unknown_ids: bool = False,
-
- Parameters:
ids (Sequence[int] | None) – transformation IDs
external_ids (SequenceNotStr[str] | None) – transformation External IDs
ignore_unknown_ids (bool) – Ignore IDs and external IDs that are not found rather than throw an exception.
- Returns:
Requested transformation schedules.
- Return type:
Examples
Get transformation schedules by transformation ids:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> res = client.transformations.schedules.retrieve_multiple(ids=[1, 2, 3])
Get transformation schedules by transformation external ids:
>>> res = client.transformations.schedules.retrieve_multiple(external_ids=["t1", "t2"])