File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,3 +119,7 @@ fabric.properties
119119
120120# Security key files
121121private.key
122+
123+ # Current flask session
124+
125+ flask_session /
Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ cryptography==3.3.2
77docusign-esign == 3.16.0
88docusign-rooms == 1.1.0
99docusign-monitor == 1.1.0
10- docusign-click == 1.0 .0
10+ docusign-click == 1.1 .0
1111docusign-admin == 1.1.1
1212Flask == 1.1.1
1313Flask-OAuthlib == 0.9.6
14+ Flask-Session
1415flask-wtf == 0.14.3
1516flake8 == 5.0.4
1617idna == 2.8
@@ -21,7 +22,7 @@ lazy-object-proxy==1.4.3
2122MarkupSafe == 1.1.1
2223mccabe == 0.7.0
2324oauthlib == 2.1.0
24- pipenv == 2018.11.26
25+ pipenv == 2022.1.8
2526py-oauth2 == 0.0.10
2627pycparser == 2.19
2728pylint == 2.14.1
Original file line number Diff line number Diff line change 11#!flask/bin/python
22from app import app
3+ from flask_session import Session
34import os
45
56if os .environ .get ("DEBUG" , False ) == "True" :
67 app .config ["DEBUG" ] = True
8+ app .config ['SESSION_TYPE' ] = 'filesystem'
9+ sess = Session ()
10+ sess .init_app (app )
711 port = int (os .environ .get ("PORT" , 3000 ))
812 app .run (host = "localhost" , port = 3000 , debug = True )
913else :
14+ app .config ['SESSION_TYPE' ] = 'filesystem'
15+ sess = Session ()
16+ sess .init_app (app )
1017 app .run (host = "localhost" , port = 3000 , extra_files = "api_type.py" )
1118
You can’t perform that action at this time.
0 commit comments