teaminsight/pyperry — pull request #2 by rbland (2012-08-13 17:19:43+00:00)
Title: Ryans dev

I updated the association.py module to do two things differently:
1) I updated "_get_resolved_class" to ignore exactly redundant class names. This situation would come up whenever I reloaded a module that defined model classes. Previously this situation was considered ambiguous.
2) I modified the "source_klass" method to observe the polymorphic directive for any instance of pyperry.base.Base. The way the object type was considered before caused it to ignore models that used a custom meta-class.