mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-02 01:59:12 -05:00

`None` is not a valid event id, so queuing up a database fetch for it seems like a silly thing to do. I considered making `get_event` return `None` if `event_id is None`, but then its interaction with `allow_none` seemed uninituitive, and strong typing ftw.
2 lines
48 B
Plaintext
2 lines
48 B
Plaintext
Stop trying to fetch events with event_id=None.
|