[sqlalchemy] Re: ext.hybrid.Comparator.property not implemented in SA2

2023-02-16 Thread Lele Gaifax
"Mike Bayer" writes: > On Thu, Feb 16, 2023, at 7:16 AM, Lele Gaifax wrote: >> >> TL;DR >> >> Why is the sqlalchemy.ext.hybrid.Comparator.property explicitly >> raising a NotImplementedError? > > the .property attribute in the base PropComparator refers to an ORM > instrumented attribute, w

Re: [sqlalchemy] ext.hybrid.Comparator.property not implemented in SA2

2023-02-16 Thread Mike Bayer
On Thu, Feb 16, 2023, at 7:16 AM, Lele Gaifax wrote: > Hi all, > > while testing one of my tools[1] against SA2 I found that one test is > failing, and couldn't figure out a proper workaround. > > TL;DR > > Why is the sqlalchemy.ext.hybrid.Comparator.property explicitly > raising a NotImpl

[sqlalchemy] ext.hybrid.Comparator.property not implemented in SA2

2023-02-16 Thread Lele Gaifax
Hi all, while testing one of my tools[1] against SA2 I found that one test is failing, and couldn't figure out a proper workaround. TL;DR Why is the sqlalchemy.ext.hybrid.Comparator.property explicitly raising a NotImplementedError? The tool is a generic data loader, and the failing test

[sqlalchemy] sqlacodegen generating empty output file with just metadata and no tables

2023-02-16 Thread William
I am using sqlacodegen to generate Python class models from an existing PostgreSQL database. However, when I run the command, the generated output file contains only metadata and no tables. I have verified that I am using the correct database URL, and that I have the required privileges to acc