Skip to content

Fix default value for category parameter in deprecated.params#15795

Open
mrhx01 wants to merge 1 commit into
python:mainfrom
mrhx01:fix-deprecated.params
Open

Fix default value for category parameter in deprecated.params#15795
mrhx01 wants to merge 1 commit into
python:mainfrom
mrhx01:fix-deprecated.params

Conversation

@mrhx01
Copy link
Copy Markdown
Contributor

@mrhx01 mrhx01 commented May 15, 2026

Fixed incorrect default value for category parameter in DeprecatedParams.init method.

Reason
Ellipsis (...) is not a valid default value in stub files. The actual default value at runtime is DeprecationWarning.

https://github.com/laurent-laporte-pro/deprecated/blob/master/deprecated/params.py

@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

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.

1 participant