Skip to content
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

Ignore default value for inputs if it's local file path #124

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

dangquangdon
Copy link
Contributor

Resolve #49

When generating/updating config to valohai.yaml, we will ignore the value of inputs if it's pointing to a local file path

@dangquangdon
Copy link
Contributor Author

I'll rebase this PR once #123 is merged to master, it will fix the CI

@dangquangdon dangquangdon force-pushed the dangquangdon-ignore-input-value-point-to-local-path branch from e2d83b9 to 8d2063e Compare February 6, 2024 12:46
@dangquangdon dangquangdon marked this pull request as ready for review February 6, 2024 19:24
@akx akx requested review from akx, a team, hylje and ruksi and removed request for a team February 7, 2024 08:41
valohai/internals/yaml.py Outdated Show resolved Hide resolved
valohai/internals/yaml.py Outdated Show resolved Hide resolved
Copy link
Member

@ruksi ruksi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! 💯

some minor non-action-requiring comments

there were some pending comments though 🤔

tests/test_yaml/test1.py Outdated Show resolved Hide resolved
valohai/internals/utils.py Show resolved Hide resolved
When generating/updating config to valohai.yaml, we will ignore the
value of inputs if it's pointing to a local file path
@dangquangdon dangquangdon force-pushed the dangquangdon-ignore-input-value-point-to-local-path branch from 8d2063e to 8b434f1 Compare February 7, 2024 12:43
@dangquangdon dangquangdon requested review from akx and ruksi February 8, 2024 13:25
Copy link
Member

@ruksi ruksi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@ruksi ruksi merged commit 681890e into master Feb 9, 2024
5 checks passed
@ruksi ruksi deleted the dangquangdon-ignore-input-value-point-to-local-path branch February 9, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

valohai-utils should ignore input defaults pointing to local paths when updating the yaml
3 participants