Skip to content

Commit

Permalink
Fix model_dump_json for all pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
IceS2 committed Jun 20, 2024
1 parent 9bdfbc2 commit 1f6250a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def application_workflow(workflow_config: OpenMetadataApplicationConfig):

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 = ApplicationWorkflow.create(config)

workflow.execute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def data_insight_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 = DataInsightWorkflow.create(config)

workflow.execute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_suite_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 = TestSuiteWorkflow.create(config)

workflow.execute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def usage_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 = UsageWorkflow.create(config)

workflow.execute()
Expand Down

0 comments on commit 1f6250a

Please sign in to comment.