We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
deepaas-cli
This happens because, in the console script wrapper, sys.exit takes any non 0 returned value as exit code 1 (exception). (ref)
sys.exit
In cli.py:
cli.py
def main(): """Executes model's methods with corresponding parameters""" return None
--> exit code 0 (success)
def main(): """Executes model's methods with corresponding parameters""" return 'success'
--> exit code 1 (error)
If we finally don't need them, consider removing returns from cli.py
return
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This happens because, in the console script wrapper,
sys.exit
takes any non 0 returned value as exit code 1 (exception). (ref)In
cli.py
:--> exit code 0 (success)
--> exit code 1 (error)
If we finally don't need them, consider removing
return
s fromcli.py
The text was updated successfully, but these errors were encountered: