Merge branch '3.0.x'

This commit is contained in:
David Lord 2024-05-06 10:13:35 -07:00
commit 4f42c64203
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 2 additions and 2 deletions

View file

@ -365,7 +365,7 @@ 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,

View file

@ -71,7 +71,7 @@ class Request(RequestBase):
reconstruct the same URL or a modified URL.
"""
if self.url_rule is not None:
return self.url_rule.endpoint
return self.url_rule.endpoint # type: ignore[no-any-return]
return None