Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Inherit ordered schemas when Meta is defined #593
We should not be messing with Python's inheritance behavior any more than necessary.
from marshmallow import Schema class Parent(Schema): class Meta: ordered = True class Child(Schema): class Meta(Parent.Meta): pass assert Child().opts.ordered is True
I am talking about these lines:
BTW, if the Meta is inherited, we won't break anything as