synapse-product/synapse
Richard van der Hoff f30a71a67b
Stop trying to fetch events with event_id=None. (#5753)
`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.
2019-07-24 13:16:18 +01:00
..
_scripts Run Black. (#5482) 2019-06-20 19:32:02 +10:00
api Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
app Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
appservice Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
config Make Jaeger fully configurable (#5694) 2019-07-23 15:46:04 +01:00
crypto Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
events Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
federation Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
groups Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
handlers Stop trying to fetch events with event_id=None. (#5753) 2019-07-24 13:16:18 +01:00
http Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
logging Make Jaeger fully configurable (#5694) 2019-07-23 15:46:04 +01:00
metrics Support Prometheus_client 0.4.0+ (#5636) 2019-07-18 23:57:15 +10:00
module_api Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
push Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
replication Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
res/templates Change password reset links to /_matrix. 2019-06-11 11:34:33 +01:00
rest Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
server_notices Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
state Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
static Add 'rel' attribute to default welcome page. (#5695) 2019-07-19 12:03:36 +01:00
storage Stop trying to fetch events with event_id=None. (#5753) 2019-07-24 13:16:18 +01:00
streams Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
util Add a prometheus metric for active cache lookups. (#5750) 2019-07-24 11:33:13 +01:00
__init__.py 1.2.0rc1 2019-07-22 12:59:04 +01:00
event_auth.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
notifier.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
python_dependencies.py Add process hooks to tell systemd our state. 2019-07-22 14:52:18 +01:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py cleanups 2019-06-27 00:37:41 +01:00
server.pyi Run Black. (#5482) 2019-06-20 19:32:02 +10:00
types.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
visibility.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00