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

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

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: