Skip to content

Commit 77b673f

Browse files
_BaseApiClient: Move class var types to subclasses
- Not used in the base class anyway.
1 parent 29de8e1 commit 77b673f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pdfrest/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,6 @@ class _BaseApiClient(Generic[ClientType]):
462462
"""Shared logic between sync and async client variants."""
463463

464464
_config: _ClientConfig
465-
_client: ClientType
466-
_owns_http_client: bool
467465

468466
def __init__(
469467
self,
@@ -904,6 +902,7 @@ class _SyncApiClient(_BaseApiClient[httpx.Client]):
904902
"""Internal synchronous client implementation."""
905903

906904
_client: httpx.Client
905+
_owns_http_client: bool
907906

908907
def __init__(
909908
self,
@@ -1161,6 +1160,7 @@ class _AsyncApiClient(_BaseApiClient[httpx.AsyncClient]):
11611160
"""Internal asynchronous client implementation."""
11621161

11631162
_client: httpx.AsyncClient
1163+
_owns_http_client: bool
11641164

11651165
def __init__(
11661166
self,

0 commit comments

Comments
 (0)