https://dagster.io/ logo
m

Michiel Ghyselinck

12/03/2020, 2:23 PM
Hello, is it possible to trigger the dagit repo refresh logic programmatically?
d

daniel

12/03/2020, 3:15 PM
Hi Michiel - I believe you could send the same reloadRepositoryLocation graphql mutation that the dagit UI uses using dagster-graphql. It just takes in the name of your repositoryLocation as the only argument (which should show up in dagit or you can set manually in your workspace yaml)
with the caveat that those graphql apis are a bit more likely to change without warning in future releases than the core dagster APIs
m

Michiel Ghyselinck

12/04/2020, 7:57 AM
Ok thank you, I'll try to do that 👍