def model_to_resource_type(model):
    if model is None:
        return "data"

    return force_text(model._meta.verbose_name_plural)

#
# String conversion
#
Return the verbose plural form of a model name, with underscores
dataset/ETHPy150Open kevin-brown/drf-json-api/rest_framework_json_api/utils.py/model_to_resource_type