mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-05 17:37:41 +08:00
[influxdb-client] Update to 1.43.* (#11954)
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
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
|
||||
@@ -8,7 +11,10 @@ class ApiException(InfluxDBError):
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user