omry / omegaconf

Flexible Python configuration system. The last one you will ever need.
BSD 3-Clause "New" or "Revised" License
1.94k stars 105 forks source link

Add support for equals sign and other symbols in resolver arguments #1028

Open tooflesswulf opened 1 year ago

tooflesswulf commented 1 year ago

I would like to be able to put equal signs and other symbols in the args list of a custom resolver. For example:

script: ${run:main.py, epochs=1000, lr=1e-5}

Currently I can work around it by wrapping each argument in quotes, but it seems strange that symbols like $%*@?| are allowed, but !#^&()=[]<>; are not.

Jasha10 commented 1 year ago

Related: https://omegaconf.readthedocs.io/en/2.2_branch/grammar.html