1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-24 23:17:43 +00:00

No need for if type checking anymore

This commit is contained in:
NextChai 2022-04-30 02:46:52 -04:00
parent cbca8016f0
commit 0fe12211a9

View file

@ -3,12 +3,10 @@ from __future__ import annotations
__all__ = ("GHClient",) __all__ = ("GHClient",)
import asyncio
import functools import functools
import aiohttp import aiohttp
from typing import ( from typing import (
TYPE_CHECKING,
Awaitable, Awaitable,
Callable, Callable,
Literal, Literal,
@ -35,9 +33,6 @@ P = ParamSpec('P')
class GHClient: class GHClient:
if TYPE_CHECKING:
http: http
has_started: bool = False has_started: bool = False
def __init__( def __init__(