Skip to content

Commit 17893e9

Browse files
_BaseApiClient: Move class var types to subclasses
- Not used in the base class anyway.
1 parent 00d406c commit 17893e9

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
@@ -441,8 +441,6 @@ class _BaseApiClient(Generic[ClientType]):
441441
"""Shared logic between sync and async client variants."""
442442

443443
_config: _ClientConfig
444-
_client: ClientType
445-
_owns_http_client: bool
446444

447445
def __init__(
448446
self,
@@ -811,6 +809,7 @@ class _SyncApiClient(_BaseApiClient[httpx.Client]):
811809
"""Internal synchronous client implementation."""
812810

813811
_client: httpx.Client
812+
_owns_http_client: bool
814813

815814
def __init__(
816815
self,
@@ -1072,6 +1071,7 @@ class _AsyncApiClient(_BaseApiClient[httpx.AsyncClient]):
10721071
"""Internal asynchronous client implementation."""
10731072

10741073
_client: httpx.AsyncClient
1074+
_owns_http_client: bool
10751075

10761076
def __init__(
10771077
self,

0 commit comments

Comments
 (0)