docs: def insert_entity(self, entity):
          '''
          Adds an insert entity operation to the batch. See 
          :func:`~azure.storage.table.tableservice.TableService.insert_entity` for more 
          information on inserts.
          
          The operation will not be executed until the batch is committed.
  
          :param entity:
              The entity to insert. Could be a dict or an entity object. 
              Must contain a PartitionKey and a RowKey.
          :type entity: dict or :class:`~azure.storage.table.models.Entity`
          '''
          request = _insert_entity(entity, self._require_encryption, self._key_encryption_key,
                                   self._encryption_resolver)
          self._add_to_batch(entity['PartitionKey'], entity['RowKey'], request)