Copy link
Copy Markdown
Member
Closes #3735
- Mostly changes
ClassVartoFinalfor all constants - Adds some limited usage of the
@finaldecorator forBase{UpdateProcessor, Request} - Uses
Literalfor thehttp_versionargument ofHTTPXRequest. Otherwise,Literalis not used due to Literal of enum values python/typing#781
If there are more places, where @final or Literal are useful, please do point them out :)
Copy link
Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have the required in-depth knowledge to suggest more cases of @final that may have been missed