Skip to content

pda.EditLog

EditLog(
edits: 'Sequence[Edit]',
*,
target: 'str | None' = None,
project_name: 'str | None' = None,
only_changes: 'bool' = False,
local: 'str | None' = None,
defaults: 'Mapping[str, object] | None' = None,
context: 'str | None' = None,
kind: 'str | None' = None,
) -> 'None'

The chain behind one document, oldest first.

Iterate it, index it, or read rows for plain dictionaries. Print it or display it for the table. It is falsy when empty, so if project.changed_since(...) reads the way you would say it.

MethodDescription
values_ofEvery value at path, in order, including overwritten ones.

values_of(self, path: 'str') -> 'list'

Every value at path, in order, including overwritten ones.

PropertyDescription
data_frameThe log as a pandas.DataFrame: one row per changed field, oldest first.
effectiveOnly the edits that moved something reported.
recordsThe edits as plain dictionaries, copied so callers cannot bruise them.

The log as a pandas.DataFrame: one row per changed field, oldest first.

Only the edits that moved something reported.

The edits as plain dictionaries, copied so callers cannot bruise them.

AttributeDescription
COLUMNSBuilt-in immutable sequence.

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.

If the argument is a tuple, the return value is the same object.