You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a python config/templating file, which is used by dvc.yaml for a number of variables. I believe you cannot evaluate any python code within config.py from dvc.yaml - e.g. I was wondering if dvc.yaml can evaluate python so that I could use something like
Can you evaluate python code within dvc.yaml (any plans for dvc.py)? Alternatively, like params can now be a Python file, I'm curious if you have any plans to support something like dvc.py (i.e a python file replacement for dvc.yaml that could potentially evaluate python code)?
Just some thoughts - I welcome any thoughts you may have on any of this and many thanks for these amazing libraries! :)
The text was updated successfully, but these errors were encountered:
A workaround to this is wrapping dvc repro/exp run into a script that dumps the params from the script to the params.yaml file and then runs dvc repro.
In dvc.yaml file, we can formalize this as a hook that does this before running repro.
dvc.py like discussion is here: #5646. Although we had a few discussions about this, there has not been strong interest in the community.
Hi there,
I have a python config/templating file, which is used by dvc.yaml for a number of variables. I believe you cannot evaluate any python code within config.py from dvc.yaml - e.g. I was wondering if dvc.yaml can evaluate python so that I could use something like
config.py
dvc.yaml
Can you evaluate python code within dvc.yaml (any plans for dvc.py)? Alternatively, like params can now be a Python file, I'm curious if you have any plans to support something like dvc.py (i.e a python file replacement for dvc.yaml that could potentially evaluate python code)?
Just some thoughts - I welcome any thoughts you may have on any of this and many thanks for these amazing libraries! :)
The text was updated successfully, but these errors were encountered: