Join Slack
Powered by
Hi all,
# ask-community
o
Oscar Delicaat
01/10/2023, 10:56 AM
Hi all,
👋 1
s
sandy
01/10/2023, 5:08 PM
Hi
@Oscar Delicaat
- one common way to do this is with a sensor and the Python client for the Dagster GraphQL API. Here's how to reload a repository programmatically:
https://docs.dagster.io/_apidocs/libraries/dagster-graphql#dagster_graphql.DagsterGraphQLClient.reload_repository_location
. You can invoke that from within a sensor.
sandy
01/10/2023, 5:15 PM
here's some code:
https://github.com/dagster-io/dagster/discussions/11604
🌈 1
o
Oscar Delicaat
01/11/2023, 9:39 AM
thanks!
2
Views
Open in Slack
Previous
Next