Hello all, I executed pipeline using `dagster.exe...
# announcements
s
Hello all, I executed pipeline using
dagster.execute_pipeline
. The execution, however wasn't displayed in dagit pipeline's runs list. Is there anything I can do to fix this?
n
You would have to run it through Dagit for Dagit to know about it 🙂
d
Hi Spandan - there's an optional "instance" argument to execute_pipeline, if you've set up your DAGSTER_HOME environment variable and do something like:
Copy code
with DagsterInstance.get() as instance:
   execute_pipeline(..., instance=instance)
I'd expect the run to then show up in dagit.
p
We should add some better warning messages (or straight out throw an error) here in case you do have a
DAGSTER_HOME
environment variable set. I just created a github issue (https://github.com/dagster-io/dagster/issues/3817) to track this (thanks for raising this!). If you were hoping to recover the run that you executed, unfortunately that was run against an ephemeral instance and we don’t have a way to copy that against your persistent instance.
s
Hello @daniel and @prha. Thanks for the comment. Using instance while executing pipeline worked for me.