Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make optional annotations explicit to follow PEP484#23

Merged
HMaker merged 1 commit intoHMaker:masterHMaker/python-cdp:masterfrom
RazorBest:fix-annotationsRazorBest/python-cdp:fix-annotationsCopy head branch name to clipboard
Oct 3, 2025
Merged

Make optional annotations explicit to follow PEP484#23
HMaker merged 1 commit intoHMaker:masterHMaker/python-cdp:masterfrom
RazorBest:fix-annotationsRazorBest/python-cdp:fix-annotationsCopy head branch name to clipboard

Conversation

@RazorBest
Copy link
Contributor

@RazorBest RazorBest commented Aug 10, 2025

These functions are public API. If a project that uses mypy, and depends on this project, might try to use the annotations in python-cdp. This PR changed these annotations, such taht it follows PEP484 regarding Optional types.

@HMaker HMaker merged commit 5d6660e into HMaker:master Oct 3, 2025
@HMaker
Copy link
Owner

HMaker commented Oct 3, 2025

Thanks!

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.