Hi,

I suggest adding sqlalchemy to the default "forced builtins". PyDev 
could not resolve all methods, before I added it to the forced builtins. 
Im not sure why I had to do this, sqlalchemy does some metaclasses magic 
(which I barely understand). I had this in my __init__.py of my package


------------ __init__.py --------------
DeclBase = sqlalchemy.ext.declarative.declarative_base()
engine = sqlalchemy.create_engine('sqlite:///recognosco.db', echo=False)
Session = sqlalchemy.orm.sessionmaker(engine)
session = Session()
------------ __init__.py --------------


Whenever I used the "session" variable in a module of this package, 
PyDev couldnt resolve its methods.

cheers,
Janosch


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to