🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

influxdb-client

Package Overview
Dependencies
Maintainers
4
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

influxdb-client - pypi Package Compare versions

Comparing version
1.42.0
to
1.43.0
+1
-1
influxdb_client.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: influxdb-client
Version: 1.42.0
Version: 1.43.0
Summary: InfluxDB 2.0 Python client library

@@ -5,0 +5,0 @@ Home-page: https://github.com/influxdata/influxdb-client-python

@@ -33,2 +33,2 @@ reactivex>=4.0.4

sphinx_rtd_theme
jinja2==3.1.3
jinja2>=3.1.4

@@ -18,3 +18,6 @@ """Exceptions utils for InfluxDB."""

self.message = self._get_message(response)
self.retry_after = response.getheader('Retry-After')
if isinstance(response, HTTPResponse): # response is HTTPResponse
self.retry_after = response.headers.get('Retry-After')
else: # response is RESTResponse
self.retry_after = response.getheader('Retry-After')
else:

@@ -21,0 +24,0 @@ self.response = None

@@ -16,3 +16,3 @@ # coding: utf-8

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

@@ -38,3 +38,6 @@ from influxdb_client.configuration import Configuration

self.body = http_resp.data
self.headers = http_resp.getheaders()
if isinstance(http_resp, HTTPResponse): # response is HTTPResponse
self.headers = http_resp.headers
else: # response is RESTResponse
self.headers = http_resp.getheaders()
else:

@@ -41,0 +44,0 @@ self.status = status

"""Version of the Client that is used in User-Agent header."""
VERSION = '1.42.0'
VERSION = '1.43.0'
Metadata-Version: 2.1
Name: influxdb_client
Version: 1.42.0
Version: 1.43.0
Summary: InfluxDB 2.0 Python client library

@@ -5,0 +5,0 @@ Home-page: https://github.com/influxdata/influxdb-client-python

@@ -30,3 +30,3 @@ #!/usr/bin/env python

'sphinx_rtd_theme',
'jinja2==3.1.3'
'jinja2>=3.1.4'
]

@@ -33,0 +33,0 @@