The problem happens when importing sqlalchemy.

from sqlalchemy import * breaks the class variable completion.

The fix here is to explicitly define what you're importing.

from sqlalchemy import MetaData, Table, Column, create_engine, Integer, String




From: lee_connell@hotmail.com
To: pydev-users@lists.sourceforge.net
Date: Thu, 19 Jul 2007 19:21:52 -0400
Subject: [Pydev-users] class variables

PyDev 1.3.8
Eclipse 3.3
Java 1.6
Python 2.5
Ubuntu Fiesty

Problem i am having is that pydev doesn't have autocompletion for users_table or base_path.  I've attached the full code as well.

class HelloWorld:
    users_table = None
    base_path = None
   
    @cherrypy.expose  
    def index(self):
        self.initDB()
        self.users_table = "table"
        self.base_path = "path"


Local listings, incredible imagery, and driving directions - all in one place! Find it!


PC Magazine’s 2007 editors’ choice for best web mail—award-winning Windows Live Hotmail. Check it out!