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
|
||||
|
||||
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(
|
||||
name,
|
||||
val, # type: ignore
|
||||
val,
|
||||
expires=expires,
|
||||
httponly=httponly,
|
||||
domain=domain,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue