ai_api_client_sdk.models.execution_schedule module¶
- class ai_api_client_sdk.models.execution_schedule.ExecutionSchedule(id: str, name: str, cron: str, configuration_id: str, status: ScheduleStatus, created_at: datetime, modified_at: datetime, start: datetime = None, end: datetime = None, **kwargs)¶
Bases:
objectAn Execution Schedule allows to trigger executions periodically
- Parameters:
id (str) – ID of the execution schedule
name (str) – Name of the execution schedule
cron (str) – Cron defining the schedule to run the executions
configuration_id (str) – ID of the configuration for the execution schedule
status (str) – status of the execution schedule
created_at (datetime, optional) – Time when the execution schedule was created
modified_at (datetime, optional) – Time when the execution schedule was last modified
start (datetime, optional) – Start time of the execution schedule
end (datetime, optional) – End time of the execution schedule
**kwargs – The keyword arguments are there in case there are additional attributes returned from server
- __init__(id: str, name: str, cron: str, configuration_id: str, status: ScheduleStatus, created_at: datetime, modified_at: datetime, start: datetime = None, end: datetime = None, **kwargs)¶
- static from_dict(execution_schedule_dict: Dict[str, Any])¶
Returns a
ai_api_client_sdk.models.execution_schedule.Scheduleobject, created from the values in the dict provided as parameter- Parameters:
execution_schedule_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object
- Returns:
An object, created from the values provided
- Return type:
class:ai_api_client_sdk.models.execution_schedule.Schedule