Skip to content
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

refactor: revert to typing-extensions library #333

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

tdstein
Copy link
Collaborator

@tdstein tdstein commented Nov 12, 2024

Revert to using the typing-extensions package since it performs the same logic introduced in the _typing_extensions.py module copied from Shiny. For example, here is the Self implementation in typing-extensions, which keys off of the python version to determine the correct import. https://github.com/python/typing_extensions/blob/main/src/typing_extensions.py#L2229-L2247

Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1746 1611 92% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/posit/connect/content.py 96% 🟢
src/posit/connect/jobs.py 100% 🟢
src/posit/connect/oauth/oauth.py 100% 🟢
src/posit/connect/users.py 96% 🟢
src/posit/connect/vanities.py 94% 🟢
TOTAL 97% 🟢

updated for commit: 1c83022 by action🐍

@tdstein tdstein marked this pull request as ready for review November 12, 2024 21:47
@tdstein tdstein merged commit 540c693 into main Nov 12, 2024
35 checks passed
@tdstein tdstein deleted the tdstein/revert-to-typing-extensions branch November 12, 2024 21:56
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