phrrn...@googlemail.com wrote: > > # class AttachNotesAsDocstring(interfaces.InstrumentationManager): > # def instrument_attribute(self, class_, key, attr): > # if isinstance(attr.property, properties.ColumnProperty): > # if hasattr(attr.property.columns[0], 'info'): > # attr.__doc__ = attr.property.columns[0].info.get > ('notes') > > # attributes.instrumentation_finders.insert(0, lambda cls: > AttachNotesAsDocstring)
the erroneous behavior is narrowed down to this, correct ? is anything within the method raising an error (try putting pdbs or print statements in it)? does having just an empty do-nothing instrumentationmanager cause the error ? --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---