organization_pipeline module#

class edgeimpulse_api.models.organization_pipeline.OrganizationPipeline(
*,
id: StrictInt,
name: StrictStr,
description: StrictStr,
intervalStr: StrictStr | None = None,
steps: List[OrganizationPipelineStep],
nextRun: datetime | None = None,
created: datetime,
currentRun: OrganizationPipelineRun | None = None,
lastRun: OrganizationPipelineRun | None = None,
feedingIntoDataset: OrganizationPipelineFeedingIntoDataset | None = None,
feedingIntoProject: OrganizationPipelineFeedingIntoProject | None = None,
emailRecipientUids: List[StrictInt],
lastRunStartError: StrictStr | None = None,
notificationWebhook: StrictStr | None = None,
whenToEmail: StrictStr,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
created: datetime#
current_run: OrganizationPipelineRun | None#
description: StrictStr#
email_recipient_uids: List[StrictInt]#
feeding_into_dataset: OrganizationPipelineFeedingIntoDataset | None#
feeding_into_project: OrganizationPipelineFeedingIntoProject | None#
classmethod from_dict(
obj: dict,
) OrganizationPipeline[source]#

Create an instance of OrganizationPipeline from a dict

classmethod from_json(
json_str: str,
) OrganizationPipeline[source]#

Create an instance of OrganizationPipeline from a JSON string

id: StrictInt#
interval_str: StrictStr | None#
last_run: OrganizationPipelineRun | None#
last_run_start_error: StrictStr | None#
name: StrictStr#
next_run: datetime | None#
notification_webhook: StrictStr | None#
steps: List[OrganizationPipelineStep]#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

when_to_email: StrictStr#
classmethod when_to_email_validate_enum(v)[source]#