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
Fix: Serialize jobenv to envVars PS-15020 #325
Conversation
This seems to fix #322 |
This worked for me!
running same code from #322, where previously didn't |
This reverts commit e23fd65.
gradient/cli/jobs.py
Outdated
help="Environmental variables ", | ||
help="Environmental variables (deprecated)", | ||
cls=common.GradientOption, | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I'd probably just remove this. If you want to support the old flag you can just add it to the --envVars
option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm once the tests pass
🎉 This PR is included in version 1.0.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes serialization of job environment
Test Plan:
Create a job and specify jobEnv parameter. Use command "env" to see if job environment is affected