-
Notifications
You must be signed in to change notification settings - Fork 0
APP_ID is now optional #65
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
Conversation
0fb3736 to
95ddadc
Compare
1b21230 to
7becd4a
Compare
maingoh
left a comment
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.
Can you remove this line
| If it fails raise a `DeepomaticException`. |
and update the README.md (maybe explain app_id is now optional and api_key must be provided with named parameter)
29a0cf6 to
b5734b1
Compare
| raise DeepomaticException("Please specify 'app_id' and 'api_key' either by passing those values to the client" | ||
| " or by defining the DEEPOMATIC_APP_ID and DEEPOMATIC_API_KEY environment variables.") | ||
| if api_key is None: | ||
| raise DeepomaticException("Please specify 'api_key' either by passing those values to the client" |
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.
s/those values/it/
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.
done in #69
| " or by defining the DEEPOMATIC_APP_ID and DEEPOMATIC_API_KEY environment variables.") | ||
| if api_key is None: | ||
| raise DeepomaticException("Please specify 'api_key' either by passing those values to the client" | ||
| " or by defining the DEEPOMATIC_API_KEY environment variables.") |
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.
s/variables/variable/
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.
done in #69
close #64