Fix werkzeug set_cookie(). (#4509)

This commit is contained in:
Sam Bull
2020-09-01 17:08:07 +01:00
committed by GitHub
parent ccfc1850e9
commit ea52d0b0a0

View File

@@ -146,16 +146,16 @@ class BaseResponse:
def iter_encoded(self) -> Iterator[bytes]: ...
def set_cookie(
self,
key,
value: str = ...,
max_age: Optional[Any] = ...,
expires: Optional[Any] = ...,
key: str,
value: Union[str, bytes] = ...,
max_age: Optional[int] = ...,
expires: Optional[int] = ...,
path: str = ...,
domain: Optional[Any] = ...,
domain: Optional[str] = ...,
secure: bool = ...,
httponly: bool = ...,
samesite: Optional[str] = ...,
): ...
) -> None: ...
def delete_cookie(self, key, path: str = ..., domain: Optional[Any] = ...): ...
@property
def is_streamed(self) -> bool: ...