2.0+ public access setup
This commit is contained in:
1 parent
c891163c6d
commit
2eadc722e9
45 files changed
+7875
-32
No files matched your search
@@ -30,6 +30,8 @@ class EventRow(TypedDict):
|
||||
amount_cents: int
|
||||
note: str
|
||||
actor: str
|
||||
voided_at: str
|
||||
void_reason: str
|
||||
|
||||
|
||||
VALID_EVENT_TYPES = {
|
||||
@@ -79,6 +81,8 @@ def load_events(csv_path: Path) -> list[EventRow]:
|
||||
amount_cents=int(row["amount_cents"] or 0),
|
||||
note=row.get("note", ""),
|
||||
actor=row.get("actor", ""),
|
||||
voided_at="",
|
||||
void_reason="",
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user