| |
- builtins.object
-
- ExecutionSchedule
class ExecutionSchedule(builtins.object) |
|
ExecutionSchedule(id: str, name: str, cron: str, configuration_id: str, status: ai_api_client_sdk.models.status.ScheduleStatus, created_at: datetime.datetime, modified_at: datetime.datetime, start: datetime.datetime = None, end: datetime.datetime = None, **kwargs)
An Execution Schedule allows to trigger executions periodically
:param id: ID of the execution schedule
:type id: str
:param name: Name of the execution schedule
:type name: str
:param cron: Cron defining the schedule to run the executions
:type cron: str
:param configuration_id: ID of the configuration for the execution schedule
:type configuration_id: str
:param status: status of the execution schedule
:type status: str
:param created_at: Time when the execution schedule was created
:type created_at: datetime, optional
:param modified_at: Time when the execution schedule was last modified
:type modified_at: datetime, optional
:param start: Start time of the execution schedule
:type start: datetime, optional
:param end: End time of the execution schedule
:type end: datetime, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
Methods defined here:
- __init__(self, id: str, name: str, cron: str, configuration_id: str, status: ai_api_client_sdk.models.status.ScheduleStatus, created_at: datetime.datetime, modified_at: datetime.datetime, start: datetime.datetime = None, end: datetime.datetime = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __str__(self)
- Return str(self).
Static methods defined here:
- from_dict(execution_schedule_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.execution_schedule.Schedule` object, created from the values in
the dict provided as parameter
:param execution_schedule_dict: Dict which includes the necessary values to create the object
:type execution_schedule_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.execution_schedule.Schedule`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |