mypy: Extend type for post_data in send_to_push_bouncer.

This commit is contained in:
Tim Abbott 2021-07-24 11:12:10 -07:00
parent bd134019e4
commit d603b0641e
1 changed files with 1 additions and 1 deletions

View File

@ -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