from pprint import pprint)
keepwhich specifies a document describing which fields must be copied in the final object, and a
copy_valueboolean flag, which specifies whether to specify the exact value in a copy operation.
@afterinstructions contain objects specified as tightly as required to obtain ids, or as ids.
@afterdesignations, but potentially
nullfields to describe missing elements.
@afterwith a list of those which exist only on the left, and only on the right.
Next. This can be used to extend, or drop elements as well as do full replacement.
"@patch". The patch must be less than or equal to the length of the list.
ModifyTablepatch is comprised of
copiesgive the sections of the table which can be copied verbatim.
deletesgives all segments which are to be removed from the original.
insertsgives all segments which are to be inserted into the new table.
movesspecifies segments that are the same in both tables, but have moved location. This is particularly useful as moving rows and columns is a typical operation in a table (such as a CSV or Excel document).
"after", pointing to the documents you would like to diff.
"document_id", specifying the data version or commit ID with which to compare the given after document.
"document_id"specifying the data version or commit ID with which to compare the document given by
"after_data_version", meaning that we would like to get a diff for all documents between the two specified data versions.
keep: A dictionary which has keys which need to be copied
copy_value: Which specifies that we should make explicit which values existed during a list copy.