def commit(self):
        _, _, data = self.resource.post_json(
            '_ensure_full_commit',
            headers={'Content-Type': 'application/json'})
        return data
Reads a portion of the file in file_state and returns it.
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/Database.commit--crossover with--dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogFileIterator.__read_file_chunk