List Info

Thread: Re:




Re:
country flaguser name
United States
2007-07-19 18:43:55
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_connellhotmail.com
To: pydev-userslists.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!
Re:
user name
2007-07-19 19:25:08
Please report that as a bug.

Cheers,

Fabio

On 7/19/07, Lee Connell < lee_connellhotmail.com">lee_connellhotmail.com > wrote:
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_connellhotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lee_connellhotmail.com
To: pydev-userslists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> pydev-userslists.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:
 &nbsp;  users_table = None
 ; &nbsp; base_path = None
 ; &nbsp;
 &nbsp;  cherrypy.expose  
 &nbsp;  def index(self):
 &nbsp;   &nbsp;  self.initDB()
 &nbsp;   ; &nbsp; self.users_table = "table"
&nbsp; &nbsp; &nbsp;   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!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
lists.sourceforge.net"> Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )