Conversation
Copy link
Copy Markdown
Member
Closes #2361
Changes the cryptography requirement to !=3.4 as that release contains a bug with cyclical imports, see pyca/cryptography#5758 .
On the fly:
- re-adds docs for
get_updates.read_latency, which apparently got lost somewhere around 2017 according to git blame - Drops type hints from signature in docs, as they are hard to read and redundant (we document everything anyway)
- prettifies display of
DefaultValueinstances in signtures in docs - makes
disable_notificationdefault toNoneinstead ofFalse. That has the same effect, we pass less stuff to TG (and it simplified tests) - cleans up some
foo = 'text' ' text continued'strings, probably leftovers from switching to black formatting
todo
- overhaul tests to strictly test defaults
- manually test stuff like
answer_inline_query
Copy link
Copy Markdown
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there. Relax, I am just a little warning for the maintainers to release directly after merging your PR, otherwise we have broken examples and people might get confused :)
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.
logic looks fine to me!