> I'm trying to create a mapped object where I don't know what the > exact constructor arguments of the object might be. I was trying > to use the inspect module to get the right arguments, but it looks > like the mapper is redefining the original class __init__. Any > thoughts as to how I might ferret out what the original classes > arguments may have been? I see that the original __init__ it is > stored in a local variable 'oldinit' inside of > Mapper._compile_class, but I can't think of any way to get to that. > Any suggestions?
maybe do it before compiling the mappers, e.g. before creating any instance? store/rename it somewhere under the class, then use that one... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---