[sqlalchemy] Re: Auto Generate sqlachemy models from yml file or dicts

2022-07-03 Thread Val Huber
Hi, David... ApiLogicServer bundles a version of sqlacodegen, and creates the models.py file (along with a running project). Don't know if this fits your needs, hope it helps. On Sunday, July 3, 2022 at 6:15:03 AM UTC-7 david...@gmail.com wro

Re: [sqlalchemy] Difference between SQLAlchemy Select and Query API

2022-07-03 Thread Yaakov Bressler
Thanks for the detailed explanation Mike. My overall takeaway -> "select" makes more sense, for a variety of reasons. (It is also slightly faster, but that is an aside.) On Sunday, July 3, 2022 at 1:24:20 PM UTC-4 Mike Bayer wrote: > > > On Sun, Jul 3, 2022, at 10:41 AM, Yaakov Bressler wrote:

Re: [sqlalchemy] Difference between SQLAlchemy Select and Query API

2022-07-03 Thread Mike Bayer
On Sun, Jul 3, 2022, at 10:41 AM, Yaakov Bressler wrote: > *I saw the following Q posted on SO:* > > Difference between SQLAlchemy Select and Query API > > Not sure if this has been asked before,

[sqlalchemy] Difference between SQLAlchemy Select and Query API

2022-07-03 Thread Yaakov Bressler
*I saw the following Q posted on SO:* Difference between SQLAlchemy Select and Query API Not sure if this has been asked before, but in the SQLAlchemy docs

[sqlalchemy] Auto Generate sqlachemy models from yml file or dicts

2022-07-03 Thread David Boateng Adams
I want to be able to auto generate sqlalchemy model from a schema. So I have the schema in yaml format. >From that file, I load it and get the columns and its data type and also the schema name into a dict. And I want to use that dictionary to create the sqlalchemy model not just a normal pytho