@staticmethod<EOL><INDENT>def process_models(attrs, base_model_class):<DEDENT>
attrs.update(base_model_class._DEFAULT_BASE_FIELDS)<EOL>attrs['<STR_LIT>'] = set()<EOL>attrs['<STR_LIT>'] = False<EOL>attrs['<STR_LIT>'] = None<EOL>attrs['<STR_LIT>'] = False<EOL>attrs['<STR_LIT>'] = False<EOL>DEFAULT_META = {'<STR_LIT>': settings.DEFAULT_BUCKET_TYPE,<EOL>'<STR_LIT>': {},<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': [],<EOL>'<STR_LIT>': [],<EOL>'<STR_LIT>': [],<EOL>'<STR_LIT>': False,<EOL>}<EOL>if '<STR_LIT:Meta>' not in attrs:<EOL><INDENT>attrs['<STR_LIT:Meta>'] = type('<STR_LIT:Meta>', (object,), DEFAULT_META)<EOL><DEDENT>else:<EOL><INDENT>for k, v in DEFAULT_META.items():<EOL><INDENT>if k not in attrs['<STR_LIT:Meta>'].__dict__:<EOL><INDENT>setattr(attrs['<STR_LIT:Meta>'], k, v)<EOL><DEDENT><DEDENT><DEDENT>
Attach default fields and meta options to models