Issue #565 passing "env" to docker as extra-docker-config#567
Issue #565 passing "env" to docker as extra-docker-config#567jhonabreul merged 6 commits intoQuantConnect:masterfrom
Conversation
Update lean_runner.py
Update lean_runner.py
| run_options["name"] = extra_docker_config["name"] | ||
|
|
||
| if "environment" in extra_docker_config: | ||
| run_options["environment"] = [f"{item[0]}={item[1]}" for item in extra_docker_config["environment"]] |
|
Hey @mrcghil, thanks for the contribution! Believe the extra |
|
@Martin-Molinero Good point. I will append instead of overwriting. Are you okay with me ingesting a list of tuples - or iterables in general - of the kind ("env_var_name", "env_var_value") or would you rather pass a list of strings directly? The Tuple solution was working well enough for me, but I realise it might be less straightforward for others. |
Hey! I would suggest accepting also a list/iterables of |
|
Hello! |
jhonabreul
left a comment
There was a problem hiding this comment.
Thank you for your contribution!
No description provided.