Get function schedule input data
- async AsyncCogniteClient.functions.schedules.get_input_data(
- id: int,
Retrieve the input data to the associated function.
- Parameters:
id (int) – Id of the schedule
- Returns:
Input data to the associated function or None if not set. This data is passed deserialized into the function through the data argument.
- Return type:
dict[str, object] | None
Examples
Get schedule input data:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> client.functions.schedules.get_input_data(id=123)