zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
355 stars 357 forks source link

Convert type comments to Python ≥ 3.6 variable annotations #794

Closed andersk closed 11 months ago

neiljp commented 11 months ago

This is via pyupgrade? It'd be great to see this change 👍

Reading some of this, it reminds me it'd be great to have a typeddict for more of the interface. As a first step that'd be easiest with something like PrivateComposition/StreamComposition (as currently in zulip-terminal), extending potentially into Message - which is so much more complex.