Conversation
Simple properties are no longer forced into a string representation and thus retain their original data type (i.e. booleans or numbers). Only exception are all option enums that are converted into their string representation.
Add the `trackingId` returned in Webex API responses to the library API errors and warnings. Clean-up exception and warning inheritance to reduce code duplication and provide a consistent inheritance hierarchy.
Add Tracking IDs to all API Errors and Warnings
Fixed simple property rendering (fixes #107)
Use the _metadata module as the source for all library metadata.
- Add a user_agent() function to create the User-Agent header - Refactor the user agent comment data structure - Replace string-defining single quotes with double quotes
Only import the ._version module and compute the version when this module is imported.
Add library User-Agent header
This was referenced Jul 9, 2020
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version 1.5 adds several minor backend improvements, including:
Webex Tracking IDs are now prominently displayed for all API errors and warnings.
Example Error Message:
You can also access the Tracking IDs via the
tracking_idattribute available on the raised exception and warning objects.The webexteamssdk library now sends a custom User-Agent header (inspired by PIP's User-Agent header).
Example User-Agent Header:
Minor package and PEP8 improvements.