Skip to content

Commit b4b0aab

Browse files
author
Pijush Chakraborty
committed
Fixing lint issues
1 parent cde8b09 commit b4b0aab

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

firebase_admin/remote_config.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"""
1818

1919
import asyncio
20-
import json
2120
from typing import Any, Dict, Optional
2221
import requests
2322
from firebase_admin import App, _http_client, _utils
@@ -94,7 +93,7 @@ def __init__(self, app: App = None, default_config: Optional[Dict[str, str]] = N
9493
# This gets set when the template is
9594
# fetched from RC servers via the load API, or via the set API.
9695
self._cache = None
97-
self._stringified_default_config: Dict[str,str] = {}
96+
self._stringified_default_config: Dict[str, str] = {}
9897

9998
# RC stores all remote values as string, but it's more intuitive
10099
# to declare default values with specific types, so this converts
@@ -167,8 +166,8 @@ async def get_server_template(self):
167166
ServerTemplateData for storing the template parameters and conditions."""
168167
try:
169168
loop = asyncio.get_event_loop()
170-
headers, template_data = await loop.run_in_executor(None,
171-
self._client.headers_and_body,
169+
headers, template_data = await loop.run_in_executor(None,
170+
self._client.headers_and_body,
172171
'get', self._get_url())
173172
except requests.exceptions.RequestException as error:
174173
raise self._handle_remote_config_error(error)

0 commit comments

Comments
 (0)