On Jan 11, 2009, at 11:41 AM, Christoph Zwerschke wrote:
> > Michael Bayer schrieb: >> if Bar inherits from Foo, Foo is mapped to "foo_table", Bar has no >> table, Bar will be mapped to foo_table as well. > > In that case, no implicit name should be set or course. It should only > be set if a name cannot be figured out otherwise. a lot of people have complained about the message, and it is this: ArgumentError: Mapper 'Mapper|User|None' does not have a mapped_table specified. (Are you using the return value of table.create()? It no longer has a return value.) That's a really old error message, and I can see how its less than perfect so I've just changed it and added a declarative specific message which supercedes it, so the issue is resolved. But I don't see how the old message is *confusing*. It seems obvious that its saying "no table is present to be mapped", what else could it possibly mean ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
