Skip to content

Commit

Permalink
added exclude_defaults=False for profiler and deploy on airflow-apis
Browse files Browse the repository at this point in the history
  • Loading branch information
IceS2 committed Jun 20, 2024
1 parent c9a017d commit f1666d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def store_airflow_pipeline_config(

logger.info(f"Saving file to {dag_config_file_path}")
with open(dag_config_file_path, "w") as outfile:
outfile.write(self.ingestion_pipeline.model_dump_json())
outfile.write(self.ingestion_pipeline.model_dump_json(exclude_defaults=False))

return {"workflow_config_file": str(dag_config_file_path)}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def profiler_workflow(workflow_config: OpenMetadataWorkflowConfig):

set_operator_logger(workflow_config)

config = json.loads(workflow_config.model_dump_json())
config = json.loads(workflow_config.model_dump_json(exclude_defaults=False))
workflow = ProfilerWorkflow.create(config)

workflow.execute()
Expand Down

0 comments on commit f1666d8

Please sign in to comment.