Initial commit

This commit is contained in:
Xevion
2022-06-18 12:54:17 -05:00
commit f770eccb26
4 changed files with 113 additions and 0 deletions

14
models.py Normal file
View File

@@ -0,0 +1,14 @@
from dataclasses import dataclass
from datetime import datetime
@dataclass
class Commit:
"""Describes a specific commit event in time."""
# A unique identifier for this commit. Not necessarily the commit hash.
id: int
# A name, description etc. for this commit. Not required to be based on the original comit message.
name: str
# A timestamp
timestamp: datetime