Add going flag to events

This commit is contained in:
Edward Betts 2023-12-26 23:20:31 +00:00
parent 12092ccb07
commit 2824bc6b98
2 changed files with 2 additions and 0 deletions

View file

@ -49,6 +49,7 @@ def get_list(filepath: str) -> list[Event]:
end_date=conf.end,
title=f"🎤 {conf.display_name}",
url=conf.url,
going=conf.going,
)
for conf in (
Conference(**conf)

View file

@ -22,6 +22,7 @@ class Event:
end_date: datetime.date | datetime.datetime | None = None
title: str | None = None
url: str | None = None
going: bool | None = None
@property
def as_datetime(self) -> datetime.datetime: