mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix typings for utils._parse_ratelimit_header
A CIMultiDict is not a Dict but a Mapping
This commit is contained in:
parent
60c1240849
commit
4c97b8efdd
@ -37,6 +37,7 @@ from typing import (
|
||||
Iterator,
|
||||
List,
|
||||
Literal,
|
||||
Mapping,
|
||||
Optional,
|
||||
Protocol,
|
||||
Sequence,
|
||||
@ -116,7 +117,7 @@ if TYPE_CHECKING:
|
||||
from .template import Template
|
||||
|
||||
class _RequestLike(Protocol):
|
||||
headers: Dict[str, Any]
|
||||
headers: Mapping[str, Any]
|
||||
|
||||
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user