Sample implementation for Connexion3 AsyncApp, sqlalchemy, marshmellow #2075
Replies: 2 comments
-
|
I filled out my sample pet store implementation in order to work out some additional challenges with my switch to AsyncApp from synchronous Flask. Not all challenges were necessarily related to Connexion 3, such as SQLAlchemy relationships. If you get a chance, I would like your comments and insight, particularly in the setup for connexion and AsyncApp in app.py. I had to experiment quite a bit before I had a manageable way to create and use the AsyncSession, and also my config dictionary. Thanks in advance, |
Beta Was this translation helpful? Give feedback.
-
|
In order to better understand changes required to migrate to Connexion 3 and AsyncApp, I created a second petstore REST implementation using the same technology stack as c3petstore, but instead using Connexion 2. I thought it may be useful to your audience., so posting here. If you get a chance, I would like your comments and insight, particularly in the setup for the connexion 3 and AsyncApp in app.py for the c3petstore version, and also the conftest.py fixtures for pytest. Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I created this sample petstore implementation using Connexion3 AsyncApp, sqlalchemy, marshmallow
c3petstore
I wouldn't mind getting your feedback, as I had a hard time with a few items like adding a config dictionary, and setting up pytests the way I wanted (i.e. not to create/drop all tables for each test).
Feel free to modify and include in your samples.
JB
Beta Was this translation helpful? Give feedback.
All reactions