You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would wish an option in the cli command flask mara_pipelines.ui.run to override variables.
Example:
I have a app.config.py file:
fromenumimportEnumclassProcessingMode(Enum):
FULL='full'INCREMENTAL='incremental'defprocessing_mode() ->ProcessingMode:
"""The processing mode to be used"""returnProcessingMode.INCREMENTALdefdefault_window_in_days() ->int:
"""The default refresh window for models when running a incremental sync."""return90
Now I would like to override the config for a singe pipeline execution.
Sample design:
# sets the processing_mode to FULL
flask mara_pipelines.ui.run --patch-config app.config.processing_mode=FULL
# sets the default_window_in_days to 180 days
flask mara_pipelines.ui.run --patch-config app.config.default_window_in_days=FULL
The parameter name should maybe not be called --patch-config <str>. Terraform uses e.g. -var=<...>/-var-file=<...>
The text was updated successfully, but these errors were encountered:
leo-schick
changed the title
passing/overriding variables via flask ...run <param>
passing/overriding config via flask ...run <param>Jun 21, 2022
I would wish an option in the cli command
flask mara_pipelines.ui.run
to override variables.Example:
I have a
app.config.py
file:Now I would like to override the config for a singe pipeline execution.
Sample design:
The parameter name should maybe not be called
--patch-config <str>
. Terraform uses e.g.-var=<...>/-var-file=<...>
The text was updated successfully, but these errors were encountered: