diff --git a/src/simple_github/client.py b/src/simple_github/client.py index 93bb197..7d45a2f 100644 --- a/src/simple_github/client.py +++ b/src/simple_github/client.py @@ -1,5 +1,5 @@ import json -from typing import TYPE_CHECKING, Dict, Optional, Union +from typing import TYPE_CHECKING, Dict, Optional, TypeAlias, Union from aiohttp import ClientSession, ContentTypeError from gql import Client as GqlClient @@ -13,7 +13,7 @@ GITHUB_API_ENDPOINT = "https://api.github.com" GITHUB_GRAPHQL_ENDPOINT = "https://api.github.com/graphql" -type Response = Union[Dict, str] +Response: TypeAlias = Union[Dict, str] class Client: