(self, project_id,  resource)
Delete Quota for a given project_id and resource.

        :param project_id: project id.
        :param resource: resource name.
Delete Quota for a given project_id and resource.
Delete Quota for a given project_id and resource .
def delete(self, project_id,  resource):
        """Delete Quota for a given project_id and resource.

        :param project_id: project id.
        :param resource: resource name.
        """

        context = pecan.request.context
        policy.enforce(context, 'quota:delete', action='quota:delete')
        quota_dict = {"project_id": project_id, "resource": resource}
        quota = objects.Quota(context, **quota_dict)
        quota.delete()
def delete ( self , project_id , resource ) : context = pecan . request . context policy . enforce ( context , 'quota:delete' , action = 'quota:delete' ) quota_dict = { "project_id" : project_id , "resource" : resource } quota = objects . Quota ( context , * * quota_dict ) quota . delete ( )