-
Notifications
You must be signed in to change notification settings - Fork 295
Support SSO with skill dialog and expected replies #1038
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
token=TestAdapter.__EXCEPTION_EXPECTED, | ||
) | ||
|
||
self.exchangeable_tokens[key.to_key()] = key |
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.
I noticed the same code in JavaScript; in JS you can use objects as keys Maps, so I might change the JS impl to do that (parity with C#).
I don't recall, but I believe there is something similar in Python...
Note, this isn't actionable for this PR, just potential future code cleanup.
) | ||
|
||
# Check response status: true if success, false if failure | ||
return response.status / 100 == 2 |
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.
First time I see this, interesting. Is there no built in or popular function in python for this? i.e. dotnet has HttpStatusCodes and IsSuccessStatusCode() in a package that gets added everywhere anyways. If it requires adding a new package for this check, then it is not worth, but just checking.
Fixes #918
Port of microsoft/botbuilder-dotnet#3818