[wingide-users] SQLAlchemy support?

Marcin Krol mrkafk at gmail.com
Tue Jun 15 05:26:08 MDT 2010


Hello everyone,

I'm spending a lot of time developing with SQLAlchemy toolkit, which is 
arguably the most popular Python ORM toolkit.

Sadly, wing doesn't seem to be able to infer most of the sqla stuff, 
e.g. I have:

Sesm=sessionmaker(bind=eng)
session=Sesm()

then:

rsvp = session.query(Project.project, 
func.count(Reservation.project_id)).join(Reservation.project).group_by(Project.project, 
Project.id).all()

..and wing says

Symbol: rsvp
   Cannot determine type

SQLA objects are complex and it would be very useful to be able to look 
into them. Debugging just to look the contents of the object up is not 
always convenient, esp. with mod_python.

-- 

Regards,
mk

--
Premature optimization is the root of all fun.


More information about the wingide-users mailing list