Skip to content

Commit 8259895

Browse files
feat: support gzip_threshold
1 parent 7a56ccb commit 8259895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb_client_3/write_client/_sync/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __call_api(
139139
# body
140140
should_gzip = False
141141
if body:
142-
should_gzip = self.should_gzip(config.enable_gzip, config.gzip_threshold, body)
142+
should_gzip = self.should_gzip(body, config.enable_gzip, config.gzip_threshold)
143143
body = self.sanitize_for_serialization(body)
144144
body = config.update_request_body(resource_path, body, should_gzip)
145145

0 commit comments

Comments
 (0)