mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Changed: Expires argument type to support datetime and int values (#5077)
Closes #5058
This commit is contained in:
@@ -149,7 +149,7 @@ class BaseResponse:
|
||||
key: str,
|
||||
value: Union[str, bytes] = ...,
|
||||
max_age: Optional[int] = ...,
|
||||
expires: Optional[int] = ...,
|
||||
expires: Optional[Union[int, datetime]] = ...,
|
||||
path: str = ...,
|
||||
domain: Optional[str] = ...,
|
||||
secure: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user