Skip to content

Commit a7590dc

Browse files
committed
fix: Fix lint errors after dependency version upgrades
1 parent 938c149 commit a7590dc

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

supertokens_python/querier.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def f(url: str) -> Response:
8181
if Querier.__api_key is not None:
8282
headers = {API_KEY_HEADER: Querier.__api_key}
8383
async with AsyncClient() as client:
84-
return await client.get(url, headers=headers)
84+
return await client.get(url, headers=headers) # type:ignore
8585

8686
response = await self.__send_request_helper(
8787
NormalisedURLPath(API_VERSION), "GET", f, len(self.__hosts)
@@ -133,7 +133,7 @@ async def send_get_request(
133133

134134
async def f(url: str) -> Response:
135135
async with AsyncClient() as client:
136-
return await client.get(
136+
return await client.get( # type:ignore
137137
url,
138138
params=params,
139139
headers=await self.__get_headers_with_api_version(path),
@@ -169,7 +169,7 @@ async def f(url: str) -> Response:
169169
async def send_delete_request(self, path: NormalisedURLPath):
170170
async def f(url: str) -> Response:
171171
async with AsyncClient() as client:
172-
return await client.delete(
172+
return await client.delete( # type:ignore
173173
url, headers=await self.__get_headers_with_api_version(path)
174174
)
175175

supertokens_python/recipe/thirdparty/providers/apple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async def _fetch_apple_public_keys(self) -> List[RSAPublicKey]:
155155
self.APPLE_PUBLIC_KEYS
156156
) == 0:
157157
async with AsyncClient() as client:
158-
response = await client.get(self.APPLE_PUBLIC_KEY_URL)
158+
response = await client.get(self.APPLE_PUBLIC_KEY_URL) # type:ignore
159159
key_payload = response.json()
160160
for key in key_payload["keys"]:
161161
self.APPLE_PUBLIC_KEYS.append(RSAAlgorithm.from_jwk(key)) # type: ignore

supertokens_python/recipe/thirdparty/providers/discord.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def get_profile_info(
5959
access_token: str = auth_code_response["access_token"]
6060
headers = {"Authorization": "Bearer " + access_token}
6161
async with AsyncClient() as client:
62-
response = await client.get(
62+
response = await client.get( # type:ignore
6363
url=self.base_url + "/api/users/@me", headers=headers
6464
)
6565
user_info = response.json()

supertokens_python/recipe/thirdparty/providers/facebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def get_profile_info(
5454

5555
params = {"access_token": access_token, "fields": "id,email", "format": "json"}
5656
async with AsyncClient() as client:
57-
response = await client.get(
57+
response = await client.get( # type:ignore
5858
url="https://graph.facebook.com/me", params=params
5959
)
6060
user_info = response.json()

supertokens_python/recipe/thirdparty/providers/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ async def get_profile_info(
6464
"Accept": "application/vnd.github.v3+json",
6565
}
6666
async with AsyncClient() as client:
67-
response_user = await client.get(
67+
response_user = await client.get( # type:ignore
6868
url="https://api.github.com/user", params=params, headers=headers
6969
)
70-
response_email = await client.get(
70+
response_email = await client.get( # type:ignore
7171
url="https://api.github.com/user/emails", params=params, headers=headers
7272
)
7373
user_info = response_user.json()

supertokens_python/recipe/thirdparty/providers/google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def get_profile_info(
5959
params = {"alt": "json"}
6060
headers = {"Authorization": "Bearer " + access_token}
6161
async with AsyncClient() as client:
62-
response = await client.get(
62+
response = await client.get( # type: ignore
6363
url="https://www.googleapis.com/oauth2/v1/userinfo",
6464
params=params,
6565
headers=headers,

0 commit comments

Comments
 (0)