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) (#10418)
This commit is contained in:
parent
98aec1cc9d
commit
323452944e
2 changed files with 2 additions and 1 deletions
1
changelog.d/10418.misc
Normal file
1
changelog.d/10418.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Convert internal type variable syntax to reflect wider ecosystem use.
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue