From: konrad Z. <kzi...@gm...> - 2006-04-20 05:50:51
|
Hi, I have been playing with the inhertence system and have come up againsts a few chalanges the largest of these being that the process of creating a subclass instance is not atomic. I had a hiarchy of Role(InheritableSQLObject) Staff(Role) Professor(Staff) due to keyword errors the system sucesfully ceated a Role instance and Staff instance but failed to create a professor instance. The obvious solution seems to be to do some pre-validation is there a way t= o get a list of all the keyword arguments expected by a professor Object? Then the other question is how to actually implement the validation. (SQLObject could realy use a before creation hook for this). regs Konrad |