diff options
author | Jonathan de Jong <jonathan@automatia.nl> | 2021-07-16 21:12:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 20:12:56 +0100 |
commit | 323452944e13114264b0c645db875dc6950315c5 (patch) | |
tree | 89749414d0325b2a298e3fe64500e095631f4ecb /synapse/module_api | |
parent | Use inline type hints in `handlers/` and `rest/`. (#10382) (diff) | |
download | synapse-323452944e13114264b0c645db875dc6950315c5.tar.xz |
One last inline type hint (for the whole repo) (#10418)
Diffstat (limited to 'synapse/module_api')
-rw-r--r-- | synapse/module_api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/module_api/__init__.py b/synapse/module_api/__init__.py index f3c78089b7..5df9349134 100644 --- a/synapse/module_api/__init__.py +++ b/synapse/module_api/__init__.py @@ -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: |