Arman S
03/24/2023, 10:38 AMdagster-airbyte check --module my_python_module.my_submodule:reconciler
dagster-airbyte apply --module my_python_module.my_submodule:reconciler
In order to check and apply changes. However, I would like to do this from within the code. Which is fine I can do
if not reconciler.check().is_empty(): reconciler.apply()
This works ok if you just run dagit
But it breaks if you run dagster dev
. Because the code is being executed both by dagster
dev at the start time and dagit
which causes memory leak.
Is there a recommended way of doing this?ben
03/27/2023, 3:13 PMreconciler.apply()
as part of CI or as a standalone step.