Skip to content

Fixed a small problem for a wrong type hint of the filters parameter.#4039

Merged
Bibo-Joshi merged 2 commits intopython-telegram-bot:masterfrom
Palaptin:typehint_correction_messagehandler
Jan 1, 2024
Merged

Fixed a small problem for a wrong type hint of the filters parameter.#4039
Bibo-Joshi merged 2 commits intopython-telegram-bot:masterfrom
Palaptin:typehint_correction_messagehandler

Conversation

@Palaptin
Copy link
Contributor

Made the type Optional, since None is also allowed for the parameter filters.

@Bibo-Joshi Bibo-Joshi added the ⚙️ type-hinting affected functionality: type-hinting label Jan 1, 2024
@Bibo-Joshi Bibo-Joshi merged commit c33c541 into python-telegram-bot:master Jan 1, 2024
@Bibo-Joshi
Copy link
Member

Thanks for the contirbution!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2024
@Palaptin Palaptin deleted the typehint_correction_messagehandler branch June 23, 2024 11:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚙️ type-hinting affected functionality: type-hinting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants