benyuel
07/15/2020, 7:20 PMUsers should not directly instantiate this class; it is instantiated by internal machinery when dagit and dagster-graphql load, based on the values in the dagster.yaml file in $DAGSTER_HOME
but make_airflow_dag
accepts a DagsterInstance
at https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-airflow/dagster_airflow/factory.py#L240-L245
Is there prior art or recommendations here? Would you advise against supplying a DagsterInstance
to make_airflow_dag
?alex
07/15/2020, 7:22 PMDagsterInstance.get()
is the recommended way which uses the default $DAGSTER_HOME
+ dagster.yaml
schemebenyuel
07/15/2020, 7:24 PM