forked from orbit-oss/flask
Fix typing on app.session_interface
This commit is contained in:
parent
b6a8ccd2cf
commit
6f79cb8a23
1 changed files with 2 additions and 1 deletions
|
|
@ -50,6 +50,7 @@ from .scaffold import find_package
|
|||
from .scaffold import Scaffold
|
||||
from .scaffold import setupmethod
|
||||
from .sessions import SecureCookieSessionInterface
|
||||
from .sessions import SessionInterface
|
||||
from .signals import appcontext_tearing_down
|
||||
from .signals import got_request_exception
|
||||
from .signals import request_finished
|
||||
|
|
@ -378,7 +379,7 @@ class Flask(Scaffold):
|
|||
#: :class:`~flask.sessions.SecureCookieSessionInterface` is used here.
|
||||
#:
|
||||
#: .. versionadded:: 0.8
|
||||
session_interface = SecureCookieSessionInterface()
|
||||
session_interface: SessionInterface = SecureCookieSessionInterface()
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue