model.User is a turbogears database model.  It defines a table in the 
database via sqlobject.  The methods I'm using are generated I believe 
during runtime, I'm new to using turbogears, sqlobject but that's got to be 
the case.

Giving you the model of User I don't think will help you.  Maybe it's just 
too difficult to tell what the methods return being a dynamic language.

Anything else I can provide please let me know.


>From: "Patrick Gerken" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: Re: [Pydev-code] code completion issues
>Date: Mon, 2 Oct 2006 12:13:06 +0200
>
>On 10/1/06, Lee Connell <[EMAIL PROTECTED]> wrote:
> >             try:
> >                 user = model.User.byEmail(email)
> >                 user2 = model.User.get(1)
>
> > first off code completion works for "model.User.get()" however it does 
>not
> > know about "model.User.byEmail()"
> >
> > now if i issue "user." which is part of "model.User.byEmail()" call, it 
>does
> > auto complete this.
> >
> > if i call "user2." which is part of "model.User.get()" it does NOT auto
> > complete.
>
>Through I don't know the lookup implementation of PyDev, I can comment a 
>bit.
>One needs to see the Model snippet to be able to answer your question.
>Then I might be able to see the problem.
>Please note that it probably not be a bug in PyDev, but confusing
>code. How could PyDev
>know what object a method does return if one possible return value
>might be some object, another a string.
>
>best regards,
>
>             Patrick
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share 
>your
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>pydev-code mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/pydev-code

_________________________________________________________________
Try the new Live Search today!  
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to