DatalabScheduleListItem¶
- pydantic model openapi_client.models.datalab_schedule_list_item.DatalabScheduleListItem¶
Notebook datalab schedule summary. On GET /schedules, the list handler also adds Resource (datalab id), ResourceType (datalab-notebook), AccessType, and LastModified.
- Fields:
- field schedule_id: StrictStr [Required] (alias 'ScheduleId')¶
- Constraints:
strict = True
- field schedule_name: StrictStr [Required] (alias 'ScheduleName')¶
- Constraints:
strict = True
- field priority: StrictInt [Required] (alias 'Priority')¶
Derived from the datalab schedule priority list. Lower values indicate higher priority.
- Constraints:
strict = True
- field is_enabled: StrictBool [Required] (alias 'IsEnabled')¶
- Constraints:
strict = True
- field is_active: StrictBool [Required] (alias 'IsActive')¶
- Constraints:
strict = True
- field last_modified_at: Optional[StrictStr] = None (alias 'LastModifiedAt')¶
- field last_modified_by: Optional[StrictStr] = None (alias 'LastModifiedBy')¶
- field last_modified: Optional[StrictStr] = None (alias 'LastModified')¶
Alias of LastModifiedAt used by GET /schedules default sorting.
- field resource: Optional[StrictStr] = None (alias 'Resource')¶
Datalab id.
- field resource_type: Optional[StrictStr] = None (alias 'ResourceType')¶
Type of resource the schedule belongs to, set when datalab schedules are included in the global GET /schedules response. Always datalab-notebook, since only notebook datalabs have schedules.
- field access_type: Optional[StrictStr] = None (alias 'AccessType')¶
Caller access on the datalab.
- field trigger: Optional[StrictStr] = None (alias 'Trigger')¶
Display-ready description of what fires a schedule - external triggers report the source, with the topic ARN in TriggerDetails - time schedules report the cron/rate expression verbatim - notebook schedules report the expression type of each configured half - one-time, daily, weekly or monthly
- field trigger_details: Optional[StrictStr] = None (alias 'TriggerDetails')¶
Expanded details for Trigger. - External triggers show the full source ARN. - Notebook schedules show start/stop expressions in one line, joined by ·. - Others are null.
- field start_schedule: Optional[DatalabScheduleExpressionInput] = None (alias 'StartSchedule')¶
- field stop_schedule: Optional[DatalabScheduleExpressionInput] = None (alias 'StopSchedule')¶
- field resource_name: Optional[StrictStr] = None (alias 'ResourceName')¶
Display name of the datalab the schedule belongs to.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of DatalabScheduleListItem from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of DatalabScheduleListItem from a dict
- Return type:
Optional[Self]