Skip to content

Commit 95ddca9

Browse files
refactor: write rest client
1 parent 96d0c57 commit 95ddca9

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

influxdb_client_3/write_client/client/util/multiprocessing_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import logging
88
import multiprocessing
99

10-
from influxdb_client_3.write_client import InfluxDBClient, WriteOptions
10+
from influxdb_client_3.write_client import WriteOptions
1111
from influxdb_client_3.exceptions import InfluxDBError
1212

1313
logger = logging.getLogger('influxdb_client.client.util.multiprocessing_helper')

influxdb_client_3/write_client/client/write_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,6 @@ def call_api(self, resource_path, method,
555555
:param async_req bool: execute request asynchronously
556556
:param collection_formats: dict of collection formats for path, query,
557557
header, and post parameters.
558-
:param _preload_content: if False, the urllib3.HTTPResponse object will
559-
be returned without reading/decoding response
560-
data. Default is True.
561558
:param _request_timeout: timeout setting for this request. If one
562559
number provided, it will be total request
563560
timeout. It can also be a pair (tuple) of
@@ -897,7 +894,6 @@ def _post_write_prepare(self, org, bucket, body, default_header, **kwargs): # n
897894

898895
def _check_operation_params(self, operation_id, supported_params, local_params):
899896
supported_params.append('async_req')
900-
supported_params.append('_preload_content')
901897
supported_params.append('_request_timeout')
902898
supported_params.append('urlopen_kw')
903899
for key, val in local_params['kwargs'].items():

0 commit comments

Comments
 (0)