Fix messed up parameters in request

This commit is contained in:
Andre Basche
2023-06-28 20:25:52 +02:00
parent 52837f16e3
commit b5d8a90d79
5 changed files with 20 additions and 11 deletions

View File

@@ -6,6 +6,7 @@ from typing import Optional, Dict, Type, Any, Protocol
import aiohttp
from typing_extensions import Self
from yarl import URL
from pyhon import const, exceptions
from pyhon.typedefs import Callback
@@ -47,7 +48,7 @@ class ConnectionHandler:
@asynccontextmanager
def _intercept(
self, method: Callback, *args: Any, loop: int = 0, **kwargs: Any
self, method: Callback, url: str | URL, *args: Any, **kwargs: Dict[str, Any]
) -> AsyncIterator[aiohttp.ClientResponse]:
raise NotImplementedError