mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 04:11:26 +08:00
Changed: Expires argument type to support datetime and int values (#5077)
Closes #5058
This commit is contained in:
1 parent
771e872cf6
commit
25eb12e745
1 file changed
+1
-1
@@ -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