Re: [SQLObject] problem while _get_ function with parameter

2007-05-18 Thread sophana
ro a écrit : > On 5/18/07, sophana <[EMAIL PROTECTED]> wrote: >> ro a écrit : >> > hi all >> > >> > I meet a problem >> > I write a _get_ function in my class: >> > >> > class Page(SQLObject): >> > ... >> > def _get_link_copy_by_space(self, space_id): >> > >> > return None

Re: [SQLObject] problem while _get_ function with parameter

2007-05-18 Thread sophana
ro a écrit : > hi all > > I meet a problem > I write a _get_ function in my class: > > class Page(SQLObject): > ... > def _get_link_copy_by_space(self, space_id): > > return None > > And while I call this function by such code: > page = Page.get(page_id) > page.link_copy_by

[SQLObject] problem while _get_ function with parameter

2007-05-17 Thread ro
hi all I meet a problem I write a _get_ function in my class: class Page(SQLObject): ... def _get_link_copy_by_space(self, space_id): return None And while I call this function by such code: page = Page.get(page_id) page.link_copy_by_space(space.id) sqlobject give me th