summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2022-04-12 12:54:00 +0200
committerGitHub <noreply@github.com>2022-04-12 11:54:00 +0100
commit1783156dbcf4164692e66275d1c29857c434995b (patch)
treed2d18c66112307a447be9febed9669c55276cea0 /changelog.d
parentPoetry: select olddeps using `poetry` (#12407) (diff)
downloadsynapse-1783156dbcf4164692e66275d1c29857c434995b.tar.xz
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`
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/12423.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12423.misc b/changelog.d/12423.misc
new file mode 100644
index 0000000000..e793d08e5e
--- /dev/null
+++ b/changelog.d/12423.misc
@@ -0,0 +1 @@
+Add some type hints to datastore.
\ No newline at end of file