def _TransferItem(self, thread_pool, get_time=time.time):
    """Transfers the entities associated with an item.

    Args:
      thread_pool: An AdaptiveThreadPool instance.
      get_time: Used for dependency injection.
    """
    t = get_time()
    if not self.content:
      self.content = self.request_manager.EncodeContent(self.rows)
    try:
      self.request_manager.PostEntities(self.content)
    except:
      raise
    return t - get_time()
dataset/ETHPy150Open IanLewis/kay/kay/management/gae_bulkloader.py/UploadWorkItem._TransferItem/swapped operands of `-`