Compare commits

...

1 Commits

Author SHA1 Message Date
giles
ea7dc9723a Fix ticket_types lazy-load in async: add lazy=selectin
CalendarEntry.ticket_types used default lazy loading which triggers
MissingGreenlet in async context when accessed in templates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 22:02:03 +00:00

View File

@@ -129,6 +129,7 @@ class CalendarEntry(Base):
cascade="all, delete-orphan",
passive_deletes=True,
order_by="TicketType.name",
lazy="selectin",
)
DAY_LABELS = [