def METHOD_NAME(session, resource_type):
    """Fetch raw resources filtered on type
    :param resource_type: Resource type
    :type resource_type: `str`
    :return: List of raw resources
    :rtype: `list`
    """
    filter_query = session.query(Resource.resource_name, Resource.resource).filter_by(
        resource_type=resource_type
    )
    # Sorting is necessary for working of ExtractURLs, since it must run after main command, so order is imp
    sort_query = filter_query.order_by(Resource.id)
    raw_resources = sort_query.all()
    return raw_resources