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].
> 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 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/9c0cedf3-434d-489b-8e60-a9ef68324df1%40app.fastmail.com.

Reply via email to