|
List Info
Thread: Re:
|
|
| Re: |
  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_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 Ecli pse 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: |

|
2007-07-19 19:25:08 |
|
Please report that as a bug.
Cheers,
Fabio
On 7/19/07, Lee Connell < lee_connell hotmail.com">lee_connell hotmail.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_connell hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lee_connell hotmail.com To: pydev-users lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
pydev-users lists.sourceforge.net Date: Thu, 19 Jul 2007 19:21:52 -0400 Subject: [Pydev-users] class variables
PyDev 1.3.8 Ecli pse 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!
------------------------------------------------------------------------- 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-users lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users
|
[1-2]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|