mirror of https://github.com/zulip/zulip.git
mypy: Extend type for post_data in send_to_push_bouncer.
This commit is contained in:
parent
bd134019e4
commit
d603b0641e
|
@ -26,7 +26,7 @@ class PushNotificationBouncerRetryLaterError(JsonableError):
|
|||
def send_to_push_bouncer(
|
||||
method: str,
|
||||
endpoint: str,
|
||||
post_data: Union[bytes, Mapping[str, Union[str, bytes]]],
|
||||
post_data: Union[bytes, Mapping[str, Union[str, int, None, bytes]]],
|
||||
extra_headers: Mapping[str, str] = {},
|
||||
) -> Dict[str, object]:
|
||||
"""While it does actually send the notice, this function has a lot of
|
||||
|
|
Loading…
Reference in New Issue