MatrixSynapse/synapse/storage
Erik Johnston 0f1afbe8dc Change HomeServer definition to work with typing.
Duplicating function signatures between server.py and server.pyi is
silly. This commit changes that by changing all `build_*` methods to
`get_*` methods and changing the `_make_dependency_method` to work work
as a descriptor that caches the produced value.

There are some changes in other files that were made to fix the typing
in server.py.
2020-08-11 18:00:17 +01:00
..
databases Change HomeServer definition to work with typing. 2020-08-11 18:00:17 +01:00
engines Use SequenceGenerator for state group ID allocation 2020-07-16 11:25:08 +01:00
schema Only run one background update at a time 2020-03-31 17:43:58 +01:00
util Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
__init__.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
_base.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
background_updates.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
database.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
keys.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
persist_events.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
prepare_database.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
presence.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
purge_events.py Convert storage layer to async/await. (#7963) 2020-07-28 16:09:53 -04:00
push_rule.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
roommember.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
state.py Convert some of the data store to async. (#7976) 2020-07-30 07:20:41 -04:00
types.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00