fix mypy finding
This commit is contained in:
parent
a363642a32
commit
eb1182a10e
1 changed files with 2 additions and 2 deletions
|
|
@ -365,10 +365,10 @@ class SecureCookieSessionInterface(SessionInterface):
|
||||||
return
|
return
|
||||||
|
|
||||||
expires = self.get_expiration_time(app, session)
|
expires = self.get_expiration_time(app, session)
|
||||||
val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore
|
val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore[union-attr]
|
||||||
response.set_cookie(
|
response.set_cookie(
|
||||||
name,
|
name,
|
||||||
val, # type: ignore
|
val,
|
||||||
expires=expires,
|
expires=expires,
|
||||||
httponly=httponly,
|
httponly=httponly,
|
||||||
domain=domain,
|
domain=domain,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue