Skip to content

Commit

Permalink
Fix CR
Browse files Browse the repository at this point in the history
  • Loading branch information
omerabuddi committed Aug 30, 2023
1 parent cd70af0 commit eb18194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jwthenticator/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def authenticate(self) -> None:
:return: None or raises exception if fails.
"""
if self._key is None:
raise ValueError("Missing key")
raise TypeError("Missing key")

url = urljoin(self.jwthenticator_server, "authenticate")
request = schemas.AuthRequest(self._key, self.identifier)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ marshmallow = "^3.9"
marshmallow-dataclass = "^8.3"
pycryptodomex = "^3.9"
environs = "^9.3.1"
asyncpg = { version = "^0.28.0", markers = "platform_python_implementation == 'CPython'" }
asyncpg = { version = "^0.28.0", markers = "platform_python_implementation == 'CPython'" } # pypy can not build asyncpg


[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit eb18194

Please sign in to comment.