Skip to content

Migrate from "webexteamssdk" library to "webexpythonsdk" library#62

Merged
fbradyirl merged 3 commits into
fbradyirl:mainfrom
Sakthivel-Ramasamy:main
Dec 20, 2024
Merged

Migrate from "webexteamssdk" library to "webexpythonsdk" library#62
fbradyirl merged 3 commits into
fbradyirl:mainfrom
Sakthivel-Ramasamy:main

Conversation

@Sakthivel-Ramasamy

Copy link
Copy Markdown
Contributor

Migration from "webexteamssdk" library to "webexpythonsdk" library.

All instances of package name "webexteamssdk" is replaced with "webexpythonsdk". All instances of primary API object "WebexTeamsAPI" is replaced with "WebexAPI". All instances of access token environment variable "WEBEX_TEAMS_ACCESS_TOKEN" is replaced with "WEBEX_ACCESS_TOKEN".

Changes are inline with "https://webexcommunity.github.io/WebexPythonSDK/user/migrate.html" and tested with my local Webex bot (which resulted in no errors). Only thing is all instances of "webexteamssdk" references in local Webex bot had to be replaced with "webexpythonsdk".

Migration from "webexteamssdk" library to "webexpythonsdk" library.

All instances of package name "webexteamssdk" is replaced with "webexpythonsdk".
All instances of primary API object "WebexTeamsAPI" is replaced with "WebexAPI".
All instances of access token environment variable "WEBEX_TEAMS_ACCESS_TOKEN" is replaced with "WEBEX_ACCESS_TOKEN".

Changes are inline with "https://webexcommunity.github.io/WebexPythonSDK/user/migrate.html" and tested with my local Webex bot (which resulted in no errors). Only thing is all instances of "webexteamssdk" references in local Webex bot had to be replaced with "webexpythonsdk".

@fbradyirl fbradyirl left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

Could you run the bot locally and post some logs here to verify sending and receiving messages is ok with this code change. Both plain text and adaptive cards. Thanks.

Comment thread requirements_dev.txt Outdated
Comment thread setup.py Outdated
@fbradyirl

Copy link
Copy Markdown
Owner

Python version is also now updated to Python 3.12 in main branch.

Point webexpythonsdk to the latest version
@Sakthivel-Ramasamy

Copy link
Copy Markdown
Contributor Author

Thanks for updating the Python version in main branch

@Sakthivel-Ramasamy

Copy link
Copy Markdown
Contributor Author

webex_bot_log_file.log

Log file attached. No issues noticed with the library change and code changes!

@fbradyirl fbradyirl merged commit 2ccc077 into fbradyirl:main Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants