>
> I'd like to do this (or something like that), after all
> define_table()'s automatically generated by wwwsqldesigner:
> db.my_table.format = '%(name)s'
>
> I saw it is impossible because "_format" is stored as a tuple
> initialized with None if it's not passed to define_table().
>
_format defaults to None, not a tuple. The problem isn't the default value, 
though (same problem if you initially assign format a value) -- the problem 
is that Table.__setattr__ doesn't allow existing keys to be redefined.

Anthony

>

Reply via email to