Skip to content
Myr

fix mypy finding

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent a363642 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/flask/sessions.py+2 added-2 removed
363 unmodified lines
364 if not self.should_set_cookie(app, session):365 return366367 expires = self.get_expiration_time(app, session)368 val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore368 val = self.get_signing_serializer(app).dumps(dict(session)) # type: ignore[union-attr]369 response.set_cookie(370 name,371 val, # type: ignore371 val,372 expires=expires,373 httponly=httponly,374 domain=domain,375 path=path,
4 unmodified lines