Look at object parents when mapping to column families #181

Merged
merged 1 commit into from Dec 5, 2012

Conversation

Projects
None yet
2 participants
Contributor

katzj commented Dec 5, 2012

Using self.cls.dict only looks at the members of the class and not any parents. Better to use inspect.getmembers() for this purpose and get the full hierarchy

@katzj katzj Look at object parents when mapping to column families
Using self.cls.__dict__ only looks at the members of the class and
not any parents.  Better to use inspect.getmembers() for this
purpose and get the full hierarchy
335995e

@thobbs thobbs added a commit that referenced this pull request Dec 5, 2012

@thobbs thobbs Merge pull request #181 from katzj/cfmap-objects-inherit
Look at object parents when mapping to column families
74a5a32

@thobbs thobbs merged commit 74a5a32 into pycassa:master Dec 5, 2012

1 check passed

default The Travis build passed
Details
Owner

thobbs commented Dec 5, 2012

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment