Yes, Mike, I agree - definitely seeing correct runtime behavior. Just looking to get past the somewhat scary alerts (which, btw, do not occur in PyCharm). Care and feeding of the IDE, I supposeā¦
Not super urgent, but would be good to clear up... > On Feb 23, 2023, at 7:39 PM, Mike Bayer <[email protected]> > wrote: > > those are typing issues being reported by Pylance and do not affect the > runtime behavior of the application. > > Pylance refers to typing stubs for SQLAlchemy 1.4 which don't apply to > SQLAlchemy 1.3. > > > > On Thu, Feb 23, 2023, at 7:36 PM, Val Huber wrote: >> Hello, All >> >> In SQLAlchemy 1.4.29, the I get the warnings shown in the attached screen >> shot. These are calls to LogicBank; if I alter LogicBank to use Column >> instead of InstrumentedAttribute, it fails with >> >> AttributeError: Neither 'InstrumentedAttribute' object nor 'Comparator' >> object associated with Customer.Balance has an attribute 'descriptor' >> >> I don't believe I got these warnings with SQLAlchemy 1.3. >> >> Suggestions? >> >> Thanks, >> Val >> >> >> >> >> -- >> SQLAlchemy - >> The Python SQL Toolkit and Object Relational Mapper >> >> http://www.sqlalchemy.org/ >> >> To post example code, please provide an MCVE: Minimal, Complete, and >> Verifiable Example. See http://stackoverflow.com/help/mcve for a full >> description. >> --- >> You received this message because you are subscribed to the Google Groups >> "sqlalchemy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sqlalchemy/18551662-845e-42d5-acb1-b0ec31140b8fn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sqlalchemy/18551662-845e-42d5-acb1-b0ec31140b8fn%40googlegroups.com?utm_medium=email&utm_source=footer>. >> >> Attachments: >> Column vs InstumentedAttribute.png > > > -- > SQLAlchemy - > The Python SQL Toolkit and Object Relational Mapper > > http://www.sqlalchemy.org/ > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > --- > You received this message because you are subscribed to a topic in the Google > Groups "sqlalchemy" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sqlalchemy/qwj30TCnqzQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sqlalchemy/9c0cedf3-434d-489b-8e60-a9ef68324df1%40app.fastmail.com > > <https://groups.google.com/d/msgid/sqlalchemy/9c0cedf3-434d-489b-8e60-a9ef68324df1%40app.fastmail.com?utm_medium=email&utm_source=footer>. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/0F90254D-579D-4218-A8A2-59FE4E65F4E5%40gmail.com.
