Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
One last inline type hint (for the whole repo) (#10418)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowJonathan authored Jul 16, 2021
1 parent 98aec1c commit 3234529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/10418.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Convert internal type variable syntax to reflect wider ecosystem use.
2 changes: 1 addition & 1 deletion synapse/module_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(self, hs: "HomeServer", auth_handler):
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:
Expand Down

0 comments on commit 3234529

Please sign in to comment.