'Given a list of resources, retrieve the default quotas.
:param context: The request context, for access checks.
:param resources: A dictionary of the registered resources.'

def get_defaults(self, context, resources):

    quotas = {}
    for resource in resources.values():
        quotas[resource.name] = (-1)
    return quotas
