Add going flag to events
This commit is contained in:
parent
12092ccb07
commit
2824bc6b98
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue