Open JuhaKiili opened 2 years ago
Overriding parameters on the command-line doesn't work if the parameter name has a - character
-
hello.py
import valohai params = { "my-param": "123", } valohai.prepare(step="foo", default_parameters=params) print(valohai.parameters('my-param).value)
Run:
python hello.py --my-param=666 123
hello2.py
import valohai params = { "myparam": "123", } valohai.prepare(step="foo", default_parameters=params) print(valohai.parameters('my-param).value)
python hello2.py --myparam=666 666
Overriding parameters on the command-line doesn't work if the parameter name has a
-
characterhello.py
Run:
hello2.py
Run: