mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-08 22:36:18 +08:00
[webob-stubs] Fix _Serializer protocol (#14116)
This commit is contained in:
@@ -27,8 +27,8 @@ _T = TypeVar("_T")
|
||||
_SameSitePolicy: TypeAlias = Literal["Strict", "Lax", "None", "strict", "lax", "none"]
|
||||
|
||||
class _Serializer(Protocol):
|
||||
def loads(self, appstruct: Any, /) -> bytes: ...
|
||||
def dumps(self, bstruct: bytes, /) -> Any: ...
|
||||
def dumps(self, appstruct: Any, /) -> bytes: ...
|
||||
def loads(self, bstruct: bytes, /) -> Any: ...
|
||||
|
||||
class RequestCookies(MutableMapping[str, str]):
|
||||
def __init__(self, environ: WSGIEnvironment) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user