Skip to content

Taipy.core.get

Get an entity from its identifier.

Parameters:

Name Type Description Default
entity_id Union[TaskId, DataNodeId, PipelineId, ScenarioId]

The identifier of the entity to get.
It must match the identifier pattern of one of the entities (Task, DataNode, Pipeline or Scenario).

required

Returns:

Type Description
Union[Task, DataNode, Pipeline, Scenario, Job, Cycle]

Union[Task^, DataNode^, Pipeline^, Scenario^, Job^, Cycle^]: The entity

Union[Task, DataNode, Pipeline, Scenario, Job, Cycle]

matching the corresponding identifier. None if no entity is found.

Raises:

Type Description
ModelNotFound

If entity_id does not match a correct entity pattern.