From eb18194cffe81faad660d559608b02bb7c98b641 Mon Sep 17 00:00:00 2001 From: Omer Abuddi Date: Wed, 30 Aug 2023 15:50:23 +0300 Subject: [PATCH] Fix CR --- jwthenticator/client.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jwthenticator/client.py b/jwthenticator/client.py index 35ee580..5eca0d3 100644 --- a/jwthenticator/client.py +++ b/jwthenticator/client.py @@ -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) diff --git a/pyproject.toml b/pyproject.toml index b74da7e..7ff422f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]