Skip to content

Commit 65ff2d7

Browse files
authored
Merge pull request #106 from speakeasy-sdks/fix/python-mypy-errors
fix pylint
2 parents 42a453d + f9f2362 commit 65ff2d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clerk_backend_api/jwks_helpers/authenticaterequest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ def get_session_token(request: Requestish) -> Optional[str]:
9494
if cookie_header is not None:
9595
if cookie_header is not None:
9696
cookies = SimpleCookie(cookie_header)
97-
for key in cookies.keys():
97+
for key, value in cookies.items():
9898
if key.startswith("__session"):
99-
return cookies[key].value
99+
return value.value
100100

101101
return None
102102

0 commit comments

Comments
 (0)