-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgraded flask package and dependencies #68
Changes from 23 commits
ea22c18
6b62702
1217c65
4b56381
a5be2fb
2941ee9
1970354
d29c1b8
6e5a063
42c2f49
975dff6
4aa40f3
d730a1e
6f8e869
d7bc869
75c399c
66b044e
b0d30ef
7e76974
5b61e1e
aa105d8
f3002cc
5eb75c2
9bedcf7
03de53c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ jobs: | |
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: pre-commit/[email protected] | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
- uses: pre-commit/[email protected] | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from api.mixins import TimestampMixin | ||
from api import db | ||
from flask_sqlalchemy import BaseQuery | ||
from flask_sqlalchemy.query import Query as BaseQuery | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
||
|
||
class UserQuery(BaseQuery): | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ | |
% POSTGRES | ||
) | ||
|
||
SQLALCHEMY_TRACK_MODIFICATIONS = True | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the |
||
WTF_CSRF_ENABLED = True | ||
SECRET_KEY = os.environ.get("SECRET_KEY") | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Includes dev dependencies on top of requirements.txt | ||
-r requirements.txt | ||
functions-framework==2.1.2 | ||
functions-framework==3.5.0 | ||
pre-commit==2.11.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
certifi==2020.12.5 | ||
chardet==4.0.0 | ||
click==7.1.2 | ||
Flask==1.1.2 | ||
requests==2.25.1 | ||
click==8.1.3 | ||
Flask==3.0.0 | ||
python-dotenv==0.15.0 | ||
Flask-SQLAlchemy==2.1 | ||
Flask-SQLAlchemy==3.1.1 | ||
functions-framework==3.5.0 | ||
idna==2.10 | ||
itsdangerous==1.1.0 | ||
Jinja2==2.11.3 | ||
MarkupSafe==1.1.1 | ||
psycopg2==2.8.6 | ||
itsdangerous==2.1.2 | ||
Jinja2==3.1.2 | ||
MarkupSafe==2.1.1 | ||
psycopg2==2.9.9 | ||
python-dotenv==0.15.0 | ||
requests==2.25.1 | ||
SQLAlchemy==1.3.23 | ||
requests==2.31.0 | ||
SQLAlchemy==2.0.23 | ||
urllib3==1.26.3 | ||
Werkzeug==1.0.1 | ||
Werkzeug==3.0.0 | ||
watchdog==3.0.0 | ||
google-cloud-logging==3.5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is the fix for the
pre-commit
failure issue.