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

Cleanup python sdk api module #204

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

gbolmier
Copy link
Contributor

@gbolmier gbolmier commented Feb 6, 2022

What type of PR is this?

/kind cleanup
/kind feature

What this PR does / why we need it:

Cleans up the python sdk api.py module. Use subprocess.run instead of subprocess.Popen so that we can propagate shell's stderr to python. Add exceptions handling with custom exceptions.

Which issue(s) this PR is related to (optional, link to 3rd issue(s)):

Related to #202.

Special notes for your reviewer:

/cc @gaocegege

@gaocegege gaocegege merged commit ede0dc0 into kleveross:master Feb 7, 2022
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.

None yet

2 participants