[webob-stubs] Fix _Serializer protocol (#14116)

This commit is contained in:
Jonathan Vanasco
2025-05-21 17:58:26 -04:00
committed by GitHub
parent 0b1ee9378d
commit 3e26a91f40
+2 -2
View File
@@ -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: ...