Skip to content

Commit

Permalink
[influxdb-client] Update to 1.43.* (#11954)
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau authored May 18, 2024
1 parent 4a70a78 commit 9a7ff27
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stubs/influxdb-client/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "1.42.*"
version = "1.43.*"
upstream_repository = "https://github.com/influxdata/influxdb-client-python"
# requires a version of urllib3 with a py.typed file
requires = ["urllib3>=2"]
Expand Down
4 changes: 3 additions & 1 deletion stubs/influxdb-client/influxdb_client/client/exceptions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ from _typeshed import Incomplete

from urllib3 import HTTPResponse

from .._sync.rest import RESTResponse

logger: Incomplete

class InfluxDBError(Exception):
response: Incomplete
message: Incomplete
retry_after: Incomplete
def __init__(self, response: HTTPResponse | None = None, message: str | None = None) -> None: ...
def __init__(self, response: HTTPResponse | RESTResponse | None = None, message: str | None = None) -> None: ...
10 changes: 8 additions & 2 deletions stubs/influxdb-client/influxdb_client/rest.pyi
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
from _typeshed import Incomplete

from influxdb_client.client.exceptions import InfluxDBError
from urllib3 import HTTPResponse

from ._sync.rest import RESTResponse
from .client.exceptions import InfluxDBError

class ApiException(InfluxDBError):
status: Incomplete
reason: Incomplete
body: Incomplete
headers: Incomplete
def __init__(
self, status: Incomplete | None = None, reason: Incomplete | None = None, http_resp: Incomplete | None = None
self,
status: Incomplete | None = None,
reason: Incomplete | None = None,
http_resp: HTTPResponse | RESTResponse | None = None,
) -> None: ...

class _BaseRESTClient:
Expand Down

0 comments on commit 9a7ff27

Please sign in to comment.