Skip to content

Commit 9a7ff27

Browse files
authored
[influxdb-client] Update to 1.43.* (#11954)
1 parent 4a70a78 commit 9a7ff27

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

stubs/influxdb-client/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "1.42.*"
1+
version = "1.43.*"
22
upstream_repository = "https://github.com/influxdata/influxdb-client-python"
33
# requires a version of urllib3 with a py.typed file
44
requires = ["urllib3>=2"]

stubs/influxdb-client/influxdb_client/client/exceptions.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ from _typeshed import Incomplete
22

33
from urllib3 import HTTPResponse
44

5+
from .._sync.rest import RESTResponse
6+
57
logger: Incomplete
68

79
class InfluxDBError(Exception):
810
response: Incomplete
911
message: Incomplete
1012
retry_after: Incomplete
11-
def __init__(self, response: HTTPResponse | None = None, message: str | None = None) -> None: ...
13+
def __init__(self, response: HTTPResponse | RESTResponse | None = None, message: str | None = None) -> None: ...

stubs/influxdb-client/influxdb_client/rest.pyi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
from _typeshed import Incomplete
22

3-
from influxdb_client.client.exceptions import InfluxDBError
3+
from urllib3 import HTTPResponse
4+
5+
from ._sync.rest import RESTResponse
6+
from .client.exceptions import InfluxDBError
47

58
class ApiException(InfluxDBError):
69
status: Incomplete
710
reason: Incomplete
811
body: Incomplete
912
headers: Incomplete
1013
def __init__(
11-
self, status: Incomplete | None = None, reason: Incomplete | None = None, http_resp: Incomplete | None = None
14+
self,
15+
status: Incomplete | None = None,
16+
reason: Incomplete | None = None,
17+
http_resp: HTTPResponse | RESTResponse | None = None,
1218
) -> None: ...
1319

1420
class _BaseRESTClient:

0 commit comments

Comments
 (0)