MatrixSynapse/synapse/storage
Dirk Klimpel 1783156dbc
Add some type hints to datastore (#12423)
* Add some type hints to datastore

* newsfile

* change `Collection` to `List`

* refactor return type of `select_users_txn`

* correct type hint in `stream.py`

* Remove `Optional` in `select_users_txn`

* remove not needed return type in `__init__`

* Revert change in `get_stream_id_for_event_txn`

* Remove import from `Literal`
2022-04-12 11:54:00 +01:00
..
databases Add some type hints to datastore (#12423) 2022-04-12 11:54:00 +01:00
engines
schema
util
__init__.py
_base.py
background_updates.py
database.py
keys.py
persist_events.py
prepare_database.py
purge_events.py
push_rule.py
roommember.py
state.py
types.py