https://dagster.io/ logo
#ask-community
Title
# ask-community
y

Yevhen Samoilenko

06/14/2022, 4:02 PM
Hi! Is there any way to update the dagster repository code programmatically? We want to build assets/ops based on the data scheme we get from external systems. So we collect data schema and save it to a file. The idea is to create a sensor that will check whether the file is updated and somehow trigger a dagster repository update, so the changes appear in dagit.
c

claire

06/14/2022, 4:27 PM
Hi Yevhen. One thing you could try here is to use the graphQL API to reload the repository location: https://docs.dagster.io/_apidocs/libraries/dagster-graphql#dagster_graphql.DagsterGraphQLClient.reload_repository_location