Commit Graph

9 Commits

Author SHA1 Message Date
Oz Tiram
69570ac708 Add property returncode to WSClient
This will be familiar for Python users as subprocess.Popen has
the same attribute. Also, the behavior is such the returncode returns
a None value if the process was not run yet.

Other than that, when the process exists with a numerical code this will
be the value of the return code. If the command executed successfully
the return value will be 0.
2019-09-17 17:23:46 +02:00
Oz N Tiram
c941d74b37 Remove all shebangs from Python modules and checker
As discussed, Python modules which aren't intended to be invoked
as scripts should not include a shebang line.

Update CONTRIBUTING.md and the checker script.
This script now includes a list SKIP_FILES for files that
should not be checked for boilerplate template.
The tests will now fail if a Python module has a shebang line.
Scripts which should have a shebang line and exists in the directory
`hack` can be ignored by adding them to the SKIP_FILES list.
2019-08-27 22:18:52 +02:00
Kubernetes Prow Robot
474e9fb322
Merge pull request #104 from saberuster/master
decode add a replace option
2019-06-20 17:10:36 -07:00
Neha Yadav
0fc0d404ac Update pycodestyle 2019-02-08 02:46:07 +05:30
Neha Yadav
d56fdbc0cc Verify Boilerplate fix 2018-12-05 22:22:59 +05:30
saberuster
15474efbaf fix #88 2018-11-26 20:53:25 +08:00
mbohlool
67a69d4656 Fix exec command parameter expansion 2017-10-11 17:17:09 -07:00
mbohlool
b7a9f4a07e Change utility functions to new set_default Configuration model, preparing to use swagger-codegen HEAD 2017-10-09 16:44:49 -07:00
mbohlool
86361f078d Add Websocket streaming support to base 2017-09-20 11:22:04 -07:00