-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, a stage like this will obtain either a value that has directly been passed by a child stage or a value that comes from the global pipeline configuration:
def configure(context):
value = context.config("abc")In some cases, we don't want to rely on the global pipeline configuration (because we want to explicitly make sure that this stage is called with a well-chosen argument). Currently, there is no way to enforce a parameter to by passed from another stage rather from global configuration. Therefore, I'd propose to have:
def configure(context):
value = context.config("abc", parameter = True)In this case the option becomes a "parameter" to the stage. This requires some moving around of code internally in the pipeline, but should not be awfully complicated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request