def __new__(mcs, name, bases, attrs):
if '<STR_LIT:Meta>' in attrs and bases:<EOL><INDENT>meta = attrs['<STR_LIT:Meta>']<EOL>base_meta = getattr(bases[<NUM_LIT:0>], '<STR_LIT:Meta>', None)<EOL>for option in INHERITANCE_OPTIONS:<EOL><INDENT>if hasattr(meta, option) or not hasattr(base_meta, option):<EOL><INDENT>continue<EOL><DEDENT>setattr(meta, option, getattr(base_meta, option))<EOL><DEDENT><DEDENT>return super(SchemaMeta, mcs).__new__(mcs, name, bases, attrs)<EOL>
Support inheritance for model and model_converter Meta options.