Hi all! Is there a way to generate a template run_...
# ask-community
j
Hi all! Is there a way to generate a template run_config dictionary or yaml file for a pipeline in a python file (not within the dagit ui)? I've been putting a bad config function into the pipeline the first time and using the dictionary provided in the error message for the expected configuration dictionary to give me all the right keys. Thanks!
p
Hi Jenny! One thing you can do is define a
PresetDefinition
(see https://docs.dagster.io/_apidocs/presets#presets) that loads commonly used config and prefills the config document in the Playground. You can also use the
configured
API to set the configuration at definition time: https://docs.dagster.io/concepts/configuration/configured
For this config function, are you authoring a new schedule or partition set?