apply_revision_changes method

apply_revision_changes

Processes changes in revisions and applies them to the same file from which the revisions were taken.

def apply_revision_changes(self, changes):
    ...
Parameter Type Description
changes ApplyRevisionOptions List of changed revisions

apply_revision_changes

Processes changes in revisions, and the result is written to the specified file by path.

def apply_revision_changes(self, file_path, changes):
    ...
Parameter Type Description
file_path str Result file path
changes ApplyRevisionOptions List of changed revisions

apply_revision_changes

Processes changes in revisions and the result is written to the document stream.

def apply_revision_changes(self, document, changes):
    ...
Parameter Type Description
document io.RawIOBase Result document
changes ApplyRevisionOptions List of changed revisions

See Also