def update_labels(self, workflow_id, labels):
    'Update labels for a specified workflow with\n        a list of (key, val) tuples\n        '
    if ((workflow_id is None) or (labels is None)):
        return
    r = self.__request_patch(CromwellRestAPI.ENDPOINT_LABELS.format(wf_id=workflow_id), labels)
    logger.debug('update_labels: {r}'.format(r=r))
    return r
Update labels for a specified workflow with
a list of (key, val) tuples
def update_labels(self, workflow_id, labels):
    'Update labels for a specified workflow with\n        a list of (key, val) tuples\n        '
    if ((workflow_id is None) or (labels is None)):
        return
    r = self.__request_patch(CromwellRestAPI.ENDPOINT_LABELS.format(wf_id=workflow_id), labels)
    logger.debug('update_labels: {r}'.format(r=r))
    return r