Replies: 5 comments 1 reply
-
As described here (#7880), the default values that are defiend in code should be shown in the OP View in the Launchpad. This makes it easier to understand certain OPs. |
Beta Was this translation helpful? Give feedback.
-
Reiterating a couple points for Schedules:
|
Beta Was this translation helpful? Give feedback.
-
The things I wish could be set by Launchpad are:
Additionally, the ability for Launchpad to save configs globally for DAGSTER_HOME would be very useful. Currently they seem to be saved in the browser cache and can be lost. I don't know how this could be done through API changes, but maybe adding "parameters" that can be defined by dagit. from dagster import DagitConfigurable
@schedule(
job=my_job,
cron_schedule=DagitConfigurable(config_key='cron_schedule') # this is refering to Status/Schedules/Schedule column in Dagit.
)
def my_job(context):
return RunRequest(
run_key=None,
run_config=context.launchpad_config['default'], # this is refering to launchpad tab-name.
) |
Beta Was this translation helpful? Give feedback.
-
user story / use case Needed workarounds at the moment:
What would be a really good long term solution. |
Beta Was this translation helpful? Give feedback.
-
Great points above. Furthermore, there should be a scaffold defaults button to scaffold the configuration including the default values. As default values are a means of communication towards less technical users (they can tinker around and set different ones easily but might not know how to structure them in the configuration) it would be really beneficial if dagster supported this behavior. |
Beta Was this translation helpful? Give feedback.
-
Lately, it comes up pretty often that the relationship between config in the launchpad vs. config in code is unclear. A few instances:
So, I'm opening this discussion for collecting user scenarios and feedback, e.g. how your mental model is about this relationship, how you expect the config view/edit experience to be in Dagit.
Beta Was this translation helpful? Give feedback.
All reactions