-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Labels
⚙️ documentationaffected functionality: documentationaffected functionality: documentation⚙️ type-hintingaffected functionality: type-hintingaffected functionality: type-hinting📋 help-wantedwork status: help-wantedwork status: help-wanted🛠 refactorchange type: refactorchange type: refactor
Description
We just pass kwargs and args to the underlying function call currently for maintenance easiness. This however means that type hinting/suggestions from IDEs don't live up to their full potential. One of ptb greatest feature are our shortcuts, sparing the developers a lot of time writing out user or chat ids etc. We should spend some time improving this part of our library in my opinion.
If we want to implement this feature, at least testing for it would be a requirement, so whenever we change the underlying functions or add new shortcuts, the test tells us that we have to change the type hints/docs/etc.
allerter
Metadata
Metadata
Assignees
Labels
⚙️ documentationaffected functionality: documentationaffected functionality: documentation⚙️ type-hintingaffected functionality: type-hintingaffected functionality: type-hinting📋 help-wantedwork status: help-wantedwork status: help-wanted🛠 refactorchange type: refactorchange type: refactor