-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path not supported for some path arguments #769
Comments
Hi @dberenbaum, I'm interested in contributing to dvclive, and I believe this issue is a great starting point. |
Correct.
Partially correct. Fixing the type hint would be nice, but the underlying issue goes deeper. If you try an example with |
@dberenbaum I tried passing One solution I could think of is type converting to string, like....
I've manually tested the changes, and they work as expected. What do you think of this solution? |
@AbdullahMakhdoom I think it's fine to fix it this way. I would also add something like: if self._dvcyaml: before the so that we don't silently return some default value |
Alright @shcheklein. One quick question before I open a PR: Do you think it's worth adding a test case for this change, or is it too minor to require one? |
I can parametrize this test for
Took inspiration from this sibling function, which is in the same |
Most of the path arguments handle both
str
andpathlib.Path
object.It is not the case for
Live
'sdvcyaml
while it should probably be.The text was updated successfully, but these errors were encountered: