chilly-quill-46782
08/26/2024, 7:44 PMParameter() statement in the Flow file? Is there a different way to pass configs to the flows? Also, how to use more complicated configs than shown in this example? For example, how to use nested configs (e.g., parameter.arg1, parameter.arg2), or those spread over multiple files?square-wire-39606
08/26/2024, 7:45 PMJSONType as a parameter type.dry-beach-38304
08/26/2024, 7:45 PMdry-beach-38304
08/26/2024, 7:45 PMchilly-quill-46782
08/26/2024, 7:49 PMParameter() calls in the flow file, right?dry-beach-38304
08/26/2024, 7:55 PMchilly-quill-46782
08/26/2024, 7:56 PMParameter() for every config parameter.dry-beach-38304
08/26/2024, 9:51 PMmy_config for example and pass the entire hydra dict as the value for that. The Parameter should be of type JSONType and that should work.chilly-quill-46782
08/26/2024, 9:54 PMParameter('my_config', default=None) in the flow file?dry-beach-38304
08/26/2024, 9:55 PMParameter("my_config", type=JSONType, default={}) and then in the runner thing, you can pass it using run(my_config=**cfg) or something like that. Basically my_config will contain all the values in a dictionary form.dry-beach-38304
08/26/2024, 9:55 PMrun(my_config=cfg)chilly-quill-46782
08/26/2024, 9:56 PMchilly-quill-46782
08/26/2024, 10:20 PMValueError: Unknown argument: 'my_config', possible args are: tags, max_workers, max_num_splits, max_log_size, decospecs, run_id_file, runner_attribute_file, user_namespacedry-beach-38304
08/27/2024, 3:29 AMchilly-quill-46782
08/27/2024, 11:17 PM