Commit¶
- class wrgl.commit.CommitResult(sum=None, table=None)¶
Payload of a successful commit
- Variables
Method generated by attrs for class CommitResult.
- class wrgl.commit.Table(sum=None, columns=None, pk=None, rows_count=None)¶
A table represents the underlying CSV of a
Commit
- Variables
Method generated by attrs for class Table.
- class wrgl.commit.Commit(sum=None, author_name=None, author_email=None, message=None, table=None, time=None, parents=None, parent_commits=None)¶
A commit represents an immutable snapshot of a CSV
- Variables
sum (str) – 16-bit checksum of commit presented as hex string
author_name (str) – name of commit author
author_email (str) – email of commit author
message (str) – commit message
table (Table) – the underlying table
time (datetime.datetime) – commit time
parent_commits (dict[str, Commit]) – mapping between parent checksums and commits. Only present if the commit was returned by
Repository.get_commit_tree()
Method generated by attrs for class Commit.