Skip to content

Commit 1549fa5

Browse files
authored
updating pipenv version to earliest fixed version (#93)
* updating pipenv version to earliest fixed version * click package update
1 parent 02f4727 commit 1549fa5

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,7 @@ fabric.properties
119119

120120
# Security key files
121121
private.key
122+
123+
# Current flask session
124+
125+
flask_session/

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ cryptography==3.3.2
77
docusign-esign==3.16.0
88
docusign-rooms==1.1.0
99
docusign-monitor==1.1.0
10-
docusign-click==1.0.0
10+
docusign-click==1.1.0
1111
docusign-admin==1.1.1
1212
Flask==1.1.1
1313
Flask-OAuthlib==0.9.6
14+
Flask-Session
1415
flask-wtf==0.14.3
1516
flake8==5.0.4
1617
idna==2.8
@@ -21,7 +22,7 @@ lazy-object-proxy==1.4.3
2122
MarkupSafe==1.1.1
2223
mccabe==0.7.0
2324
oauthlib==2.1.0
24-
pipenv==2018.11.26
25+
pipenv==2022.1.8
2526
py-oauth2==0.0.10
2627
pycparser==2.19
2728
pylint==2.14.1

run.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
#!flask/bin/python
22
from app import app
3+
from flask_session import Session
34
import os
45

56
if 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)
913
else:
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

0 commit comments

Comments
 (0)