Feature!

it used to be that represent = lambda value:...
but then we moved on to represent = lambda value, row:...

previous code has been made backward compatible (will accept both) but
new code (grid and smartgrid) will expect the new syntax.

On Aug 24, 5:54 am, Johann Spies <johann.sp...@gmail.com> wrote:
> > TypeError: <lambda>() takes exactly 1 argument (2 given)
>
> It seems this is only when I use certain models.  With some other it works
> nicely.
> Further experimentation showed that if I removed  *format = lambda r:
> r.nameor T("Unknown")
> *
> as well as a *.represent*-line using lambda to show a link it works.
>
> Is that a bug or a feature?
>
> Regards
> Johann
>
> --
>  May grace and peace be yours in abundance through the full knowledge of God
> and of Jesus our Lord!  His divine power has given us everything we need for
> life and godliness through the full knowledge of the one who called us by
> his own glory and excellence.
>                                                     2 Pet. 1:2b,3a

Reply via email to