'Get a specific default quota for a resource.'

def get_default(self, context, resource, project_id):

    default_quotas = db.quota_class_get_defaults(context)
    return default_quotas.get(resource.name, resource.default)
