-
Notifications
You must be signed in to change notification settings - Fork 39
Dev 325 #116
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
Dev 325 #116
Conversation
…emoved the ability to collect insights before sending, now the every time the user invokes the collectInsights method, it will also send. This prevents any State issues with the algorithm.
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.
This is a little complex of a workflow enhancement, I see that this now should enable support for non-marketplace interfaces; but is there a suite of tests I can perform with the CLI itself (as a smoketest) outside of just the test harness created here?
Algorithmia/__main__.py
Outdated
|
||
else: | ||
if APIaddress == "" or not APIaddress.startswith("https://api."): | ||
APIaddress = "https://api.algorithmia.com" |
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.
This should fail with an error, not soft-recover IMO
def client(api_key=None, api_address=None, ca_cert=None): | ||
return Client(api_key, api_address, ca_cert) | ||
def client(api_key=None, api_address=None, ca_cert=None, bearer_token=None): | ||
return Client(api_key, api_address, ca_cert, bearer_token) |
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.
What's the documented use for this bearer token?
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.
Looks good to me, approving 👍
No description provided.