def __new__(mcs, name, bases, attrs):
attrs.update(<EOL>api_path_prefix_format=COLLECTION_PATH_FORMAT,<EOL>)<EOL>model = attrs.get('<STR_LIT>', None)<EOL>if attrs.get('<STR_LIT:name>', None) is None and model is not None:<EOL><INDENT>attrs.update(<EOL>name=model_name(model),<EOL>)<EOL><DEDENT>return super(CollectionMeta, mcs).__new__(mcs, name, bases, attrs)<EOL>
Create a new Collection class.