0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:03:50 +01:00

One last inline type hint (for the whole repo) ()

This commit is contained in:
Jonathan de Jong 2021-07-16 21:12:56 +02:00 committed by GitHub
parent 98aec1cc9d
commit 323452944e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
changelog.d
synapse/module_api

1
changelog.d/10418.misc Normal file
View file

@ -0,0 +1 @@
Convert internal type variable syntax to reflect wider ecosystem use.

View file

@ -89,7 +89,7 @@ class ModuleApi:
self._server_name = hs.hostname
self._presence_stream = hs.get_event_sources().sources["presence"]
self._state = hs.get_state_handler()
self._clock = hs.get_clock() # type: Clock
self._clock: Clock = hs.get_clock()
self._send_email_handler = hs.get_send_email_handler()
try: