Skip to content

Commit 386dba4

Browse files
Fix unused imports in HTTP client files
- Removed `Awaitable`, `cast`, and `BaseRequestExecutor` from `async_client.py`. - Removed `cast` and `BaseRequestExecutor` from `client.py`. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 74d20d7 commit 386dba4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/imednet/core/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
from __future__ import annotations
44

55
import logging
6-
from typing import Any, Awaitable, Dict, Optional, cast
6+
from typing import Any, Dict, Optional
77

88
import httpx
99

10-
from imednet.core.http.executor import AsyncRequestExecutor, BaseRequestExecutor
10+
from imednet.core.http.executor import AsyncRequestExecutor
1111
from imednet.core.retry import RetryPolicy
1212

1313
from .http_client_base import HTTPClientBase

src/imednet/core/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
import logging
1515
from types import TracebackType
16-
from typing import Any, Dict, Optional, cast
16+
from typing import Any, Dict, Optional
1717

1818
import httpx
1919

20-
from imednet.core.http.executor import BaseRequestExecutor, SyncRequestExecutor
20+
from imednet.core.http.executor import SyncRequestExecutor
2121
from imednet.core.retry import RetryPolicy
2222

2323
from .http_client_base import HTTPClientBase

0 commit comments

Comments
 (0)