fix: change QueryParams constructor from __init__ to __new__ for proper instantiation
This commit is contained in:
parent
60e37b1e1f
commit
0e2361dbf3
@ -13,7 +13,7 @@ QueryParamTypes = typing.Union[
|
||||
|
||||
@typing.final
|
||||
class QueryParams(typing.Mapping[str, str]):
|
||||
def __init__(self, *args: QueryParamTypes | None, **kwargs: typing.Any) -> None:...
|
||||
def __new__(cls, *args: QueryParamTypes | None, **kwargs: typing.Any) -> None:...
|
||||
def keys(self) -> typing.KeysView[str]:
|
||||
"""
|
||||
Return all the keys in the query params.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user