mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 05:44:09 -04:00
Add type annotations to SimpleHttpClient (#8372)
This commit is contained in:
parent
6fdf577593
commit
11c9e17738
4 changed files with 143 additions and 61 deletions
|
@ -178,7 +178,7 @@ class ApplicationServiceApi(SimpleHttpClient):
|
|||
urllib.parse.quote(protocol),
|
||||
)
|
||||
try:
|
||||
info = await self.get_json(uri, {})
|
||||
info = await self.get_json(uri)
|
||||
|
||||
if not _is_valid_3pe_metadata(info):
|
||||
logger.warning(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue