Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchitector committed Apr 11, 2024
1 parent d49d6fc commit c3503bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions indico/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,3 @@ async def paginate(
while request.has_next_page:
r = await self._http.execute_request(request)
yield r


# class test(GraphQLRequest[int]):
# def process_response(self, response: "Payload") -> int:
# a: "Payload" = super().parse_payload(response)
# return a["a"]


# a: str = IndicoClient().call(test(query=""))
4 changes: 2 additions & 2 deletions indico/http/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import time
from functools import wraps
from random import randint
from typing import TYPE_CHECKING, Awaitable
from typing import TYPE_CHECKING

if TYPE_CHECKING: # pragma: no cover
from typing import Callable, Optional, Tuple, Type, TypeVar, Union
from typing import Awaitable, Callable, Optional, Tuple, Type, TypeVar, Union

from typing_extensions import ParamSpec

Expand Down

0 comments on commit c3503bc

Please sign in to comment.