Ingestion workflow module
Extension to the OpenMetadata Workflow class
PrefectOpenMetadataIngestion
Bases: Workflow
OpenMetadata ingestion workflow that adds a method allowing to log the workflow status to the Prefect backend.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
config |
string with a YAML or JSON configuration file |
required |
Source code in prefect_openmetadata/ingestion_workflow.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
__int__(config)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
config |
OpenMetadataWorkflowConfig
|
string with a YAML or JSON configuration file |
required |
Source code in prefect_openmetadata/ingestion_workflow.py
20 21 22 23 24 25 |
|
log_flow_status()
Log workflow status to the Prefect API backend
Source code in prefect_openmetadata/ingestion_workflow.py
27 28 29 30 31 32 33 34 35 36 37 38 |
|