code: def patch_request(self, uri, body, custom_headers=None, timeout=-1):
          
          logger.debug('Patch resource (uri = %s, data = %s)' % (uri, body))
  
          if not custom_headers:
              custom_headers = {}
  
          if self._connection._apiVersion >= 300 and 'Content-Type' not in custom_headers:
              custom_headers['Content-Type'] = 'application/json-patch+json'
  
          task, entity = self._connection.patch(uri, body, custom_headers=custom_headers)
  
          if not task:
              return entity
  
          return self._task_monitor.wait_for_task(task, timeout)
docs: Uses the PATCH to update a resource.
  
          Only one operation can be performed in each PATCH call.
  
          Args:
              body (list): Patch request body
              timeout (int): Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation
                  in OneView; it just stops waiting for its completion.
              custom_headers (dict): Allows to add custom http headers.
  
          Returns:
              Updated resource.