def setup_data_model(config, raml_resource, model_name):
    model_cls = get_existing_model(model_name)
    schema = resource_schema(raml_resource)

    if not schema:
        raise Exception('Missing schema for model `{}`'.format(model_name))

    if model_cls is not None:
        return model_cls, schema.get('_auth_model', False)

    log.info('Generating model class `{}`'.format(model_name))
    return generate_model_cls(
        config,
        schema=schema,
        model_name=model_name,
        raml_resource=raml_resource,
    )
Returns a list of the values in |names| that are not in |mapping|.
dataset/ETHPy150Open ramses-tech/ramses/ramses/models.py/setup_data_model--crossover with--dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/generator/analyzer.py/_NamesNotIn