def resource_to_type_name(resource):
    """Creates a type/name format from a resource dbo.

    Args:
        resource (object): the resource to get the the type_name

    Returns:
        str: type_name of the resource
    """

    return resource.type_name