FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Sync flask-connexion-rest-part-2 with the updated tutorial (#860) · realpython/materials@fa205bd · GitHub

Repository navigation

Commit fa205bd

Browse files
Sync flask-connexion-rest-part-2 with the updated tutorial (#860)
* Sync flask-connexion-rest-part-2 with the maintenance update of Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sync flask-connexion-rest-part-2 with the Connexion 3 maintenance update of Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a746d50 commit fa205bd

3 files changed

Lines changed: 43 additions & 29 deletions

File tree

Lines changed: 40 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,41 @@
1-
attrs==22.1.0
2-
certifi==2022.9.24
3-
charset-normalizer==2.1.1
4-
click==8.1.3
5-
clickclick==20.10.2
6-
connexion==2.14.1
7-
Flask==2.2.2
8-
flask-marshmallow==0.14.0
9-
Flask-SQLAlchemy==3.0.2
10-
idna==3.4
1+
a2wsgi==1.10.10
2+
anyio==4.15.1
3+
asgiref==3.12.1
4+
attrs==26.1.0
5+
blinker==1.9.0
6+
certifi==2026.7.22
7+
charset-normalizer==3.5.2
8+
click==8.5.0
9+
connexion==3.3.0
10+
flask==3.1.3
11+
flask-marshmallow==1.5.0
12+
flask-sqlalchemy==3.1.1
13+
h11==0.16.0
14+
httpcore==1.0.9
15+
httptools==0.9.0
16+
httpx==0.28.1
17+
idna==3.20
1118
inflection==0.5.1
12-
itsdangerous==2.1.2
13-
Jinja2==3.1.2
14-
jsonschema==4.16.0
15-
MarkupSafe==2.1.1
16-
marshmallow==3.18.0
17-
marshmallow-sqlalchemy==0.28.1
18-
packaging==21.3
19-
pyparsing==3.0.9
20-
pyrsistent==0.19.1
21-
PyYAML==6.0
22-
requests==2.28.1
23-
six==1.16.0
24-
SQLAlchemy==1.4.42
25-
swagger-ui-bundle==0.0.9
26-
urllib3==1.26.12
27-
Werkzeug==2.2.2
19+
itsdangerous==2.2.0
20+
jinja2==3.1.6
21+
jsonschema==4.26.0
22+
jsonschema-specifications==2025.9.1
23+
markupsafe==3.0.4
24+
marshmallow==4.3.1
25+
marshmallow-sqlalchemy==1.5.0
26+
python-dotenv==1.2.4
27+
python-multipart==0.0.32
28+
pyyaml==6.0.3
29+
referencing==0.37.0
30+
requests==2.34.2
31+
rpds-py==2026.9.1
32+
sqlalchemy==2.1.4
33+
starlette==1.7.0
34+
swagger-ui-bundle==1.1.0
35+
typing-extensions==4.16.0
36+
urllib3==2.8.0
37+
uvicorn==0.54.0
38+
uvloop==0.23.0
39+
watchfiles==1.3.0
40+
websockets==17.2
41+
werkzeug==3.1.9

‎flask-connexion-rest-part-2/rp_flask_api/app.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ def home():
1313

1414

1515
if __name__ == "__main__":
16-
app.run(host="0.0.0.0", port=8000, debug=True)
16+
app.run("__main__:app", host="0.0.0.0", port=8000, reload=True)

‎flask-connexion-rest-part-2/rp_flask_api/swagger.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ paths:
4343
- People
4444
summary: "Create a person"
4545
requestBody:
46+
x-body-name: "person"
4647
description: "Person to create"
4748
required: True
4849
content:
4950
application/json:
5051
schema:
51-
x-body-name: "person"
5252
$ref: "#/components/schemas/Person"
5353
responses:
5454
"201":
@@ -75,10 +75,10 @@ paths:
7575
"200":
7676
description: "Successfully updated person"
7777
requestBody:
78+
x-body-name: "person"
7879
content:
7980
application/json:
8081
schema:
81-
x-body-name: "person"
8282
$ref: "#/components/schemas/Person"
8383
delete:
8484
tags:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL