Pere Miquel Brull 34fbe5d64c
Docs - Prepare 1.7 docs and 1.8 snapshot (#20882)
* DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT

* DOCS - Prepare 1.7 Release and 1.8 SNAPSHOT
2025-04-18 12:12:17 +05:30

3.7 KiB

title slug
Ingestion Pipeline Mixin /sdk/python/api-reference/ingestion-pipeline-mixin

{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

module ingestion_pipeline_mixin

Mixin class containing ingestion pipeline specific methods

To be used by OpenMetadata class


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

class OMetaIngestionPipelineMixin

OpenMetadata API methods related to ingestion pipeline.

To be inherited by OpenMetadata


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

method create_or_update_pipeline_status

create_or_update_pipeline_status(
    ingestion_pipeline_fqn: str,
    pipeline_status: PipelineStatus
)  None

PUT create or update pipeline status

:param ingestion_pipeline_fqn: Ingestion Pipeline FQN :param pipeline_status: Pipeline Status data to add


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

method get_ingestion_pipeline_by_name

get_ingestion_pipeline_by_name(
    fields: Optional[List[str]] = None,
    params: Optional[Dict[str, str]] = None
)  Optional[IngestionPipeline]

Get ingestion pipeline statues based on name

Args:

  • name (str): Ingestion Pipeline Name
  • fields (List[str]): List of all the fields

{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

method get_pipeline_status

get_pipeline_status(
    ingestion_pipeline_fqn: str,
    pipeline_status_run_id: str
)  Optional[PipelineStatus]

GET pipeline status

:param ingestion_pipeline_fqn: Ingestion Pipeline FQN :param pipeline_status_run_id: Pipeline Status run id


{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

method get_pipeline_status_between_ts

get_pipeline_status_between_ts(
    ingestion_pipeline_fqn: str,
    start_ts: int,
    end_ts: int
)  Optional[List[PipelineStatus]]

Get pipeline status between timestamp

Args:

  • ingestion_pipeline_fqn (str): pipeline fqn
  • start_ts (int): start_ts
  • end_ts (int): end_ts

{% image align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" /%}

method run_pipeline

run_pipeline(ingestion_pipeline_id: str)  IngestionPipeline

Run ingestion pipeline workflow

Args:

  • ingestion_pipeline_id (str): ingestion pipeline uuid