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:
parent
cbca8016f0
commit
0fe12211a9
1 changed files with 0 additions and 5 deletions
|
@ -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__(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue