mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
Many stubs in xml.etree.ElementTree use Union[str, bytes] as return type. Mypy wants us to correctly handle each case. This is correct, but not useful for us since we know that we'll always get str. So force the return value to text_type, to supress mypy errors.
9.0 KiB
9.0 KiB