ramp_utils
.generate_ramp_config¶
-
ramp_utils.
generate_ramp_config
(event_config, database_config=None)¶ Generate the configuration to deploy RAMP.
- Parameters
- event_configdict or str
Either the loaded configuration or the configuration YAML file. When the configuration filename is given,
database_config
need to be given as well. When adict
is provided, all paths should be given.- database_configstr, optional
The database configuration filename. It is required when
event_config
is astr
.
- Returns
- ramp_configdict
The configuration for the RAMP worker.