diff --git a/CHANGELOG.md b/CHANGELOG.md index c8c102cd..865587f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,13 @@ ## 1.29.0 [unreleased] +### Breaking Changes +1. [#433](https://github.com/influxdata/influxdb-client-python/pull/433): Rename `InvocableScripts` to `InvokableScripts` + ### Features 1. [#435](https://github.com/influxdata/influxdb-client-python/pull/435): Add possibility to authenticate by `username/password` -### Breaking Changes -1. [#433](https://github.com/influxdata/influxdb-client-python/pull/433): Rename `InvocableScripts` to `InvokableScripts` +### Dependencies +1. [#439](https://github.com/influxdata/influxdb-client-python/pull/439): Remove `six` library ### Documentation 1. [#434](https://github.com/influxdata/influxdb-client-python/pull/434): How the client uses [logging](https://docs.python.org/3/library/logging.html) diff --git a/influxdb_client/_async/api_client.py b/influxdb_client/_async/api_client.py index 7d721ff8..59fa75b3 100644 --- a/influxdb_client/_async/api_client.py +++ b/influxdb_client/_async/api_client.py @@ -13,20 +13,17 @@ import datetime import json import mimetypes -from multiprocessing.pool import ThreadPool import os import re import tempfile +from multiprocessing.pool import ThreadPool +from urllib.parse import quote -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import quote - -from influxdb_client.configuration import Configuration import influxdb_client.domain -from influxdb_client._async import rest from influxdb_client import SigninService from influxdb_client import SignoutService +from influxdb_client._async import rest +from influxdb_client.configuration import Configuration from influxdb_client.rest import _requires_create_user_session, _requires_expire_user_session @@ -52,10 +49,10 @@ class ApiClientAsync(object): to the API. More threads means more concurrent API requests. """ - PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types + PRIMITIVE_TYPES = (float, bool, bytes, str, int) NATIVE_TYPES_MAPPING = { 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 + 'long': int, 'float': float, 'str': str, 'bool': bool, @@ -231,11 +228,11 @@ def sanitize_for_serialization(self, obj): # Convert attribute name to json key in # model definition for request. obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.openapi_types) + for attr, _ in obj.openapi_types.items() if getattr(obj, attr) is not None} return {key: self.sanitize_for_serialization(val) - for key, val in six.iteritems(obj_dict)} + for key, val in obj_dict.items()} def deserialize(self, response, response_type): """Deserializes response into an object. @@ -279,7 +276,7 @@ def __deserialize(self, data, klass): if klass.startswith('dict('): sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) return {k: self.__deserialize(v, sub_kls) - for k, v in six.iteritems(data)} + for k, v in data.items()} # convert str to class if klass in self.NATIVE_TYPES_MAPPING: @@ -438,7 +435,7 @@ def parameters_to_tuples(self, params, collection_formats): new_params = [] if collection_formats is None: collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 + for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 if k in collection_formats: collection_format = collection_formats[k] if collection_format == 'multi': @@ -471,7 +468,7 @@ def prepare_post_parameters(self, post_params=None, files=None): params = post_params if files: - for k, v in six.iteritems(files): + for k, v in files.items(): if not v: continue file_names = v if type(v) is list else [v] @@ -577,7 +574,7 @@ def __deserialize_primitive(self, data, klass): try: return klass(data) except UnicodeEncodeError: - return six.text_type(data) + return str(data) except TypeError: return data @@ -640,7 +637,7 @@ def __deserialize_model(self, data, klass): kwargs = {} if klass.openapi_types is not None: - for attr, attr_type in six.iteritems(klass.openapi_types): + for attr, attr_type in klass.openapi_types.items(): if (data is not None and klass.attribute_map[attr] in data and isinstance(data, (list, dict))): diff --git a/influxdb_client/_async/rest.py b/influxdb_client/_async/rest.py index 0430d872..311e2b99 100644 --- a/influxdb_client/_async/rest.py +++ b/influxdb_client/_async/rest.py @@ -12,11 +12,9 @@ import json import re import ssl +from urllib.parse import urlencode import aiohttp -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import urlencode from influxdb_client.rest import ApiException from influxdb_client.rest import _UTF_8_encoding @@ -111,7 +109,7 @@ def __init__(self, configuration, pools_size=4, maxsize=None, **kwargs): trace_config.on_request_end.append(_on_request_end) # timeout - if isinstance(configuration.timeout, (int, float,) if six.PY3 else (int, long, float,)): # noqa: E501,F821 + if isinstance(configuration.timeout, (int, float,)): # noqa: E501,F821 timeout = aiohttp.ClientTimeout(total=configuration.timeout / 1_000) elif isinstance(configuration.timeout, aiohttp.ClientTimeout): timeout = configuration.timeout diff --git a/influxdb_client/_sync/api_client.py b/influxdb_client/_sync/api_client.py index c1a60dd9..e22df488 100644 --- a/influxdb_client/_sync/api_client.py +++ b/influxdb_client/_sync/api_client.py @@ -13,20 +13,17 @@ import datetime import json import mimetypes -from multiprocessing.pool import ThreadPool import os import re import tempfile +from multiprocessing.pool import ThreadPool +from urllib.parse import quote -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import quote - -from influxdb_client.configuration import Configuration import influxdb_client.domain -from influxdb_client._sync import rest from influxdb_client import SigninService from influxdb_client import SignoutService +from influxdb_client._sync import rest +from influxdb_client.configuration import Configuration from influxdb_client.rest import _requires_create_user_session, _requires_expire_user_session @@ -52,10 +49,10 @@ class ApiClient(object): to the API. More threads means more concurrent API requests. """ - PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types + PRIMITIVE_TYPES = (float, bool, bytes, str, int) NATIVE_TYPES_MAPPING = { 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 + 'long': int, 'float': float, 'str': str, 'bool': bool, @@ -231,11 +228,11 @@ def sanitize_for_serialization(self, obj): # Convert attribute name to json key in # model definition for request. obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.openapi_types) + for attr, _ in obj.openapi_types.items() if getattr(obj, attr) is not None} return {key: self.sanitize_for_serialization(val) - for key, val in six.iteritems(obj_dict)} + for key, val in obj_dict.items()} def deserialize(self, response, response_type): """Deserializes response into an object. @@ -279,7 +276,7 @@ def __deserialize(self, data, klass): if klass.startswith('dict('): sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) return {k: self.__deserialize(v, sub_kls) - for k, v in six.iteritems(data)} + for k, v in data.items()} # convert str to class if klass in self.NATIVE_TYPES_MAPPING: @@ -438,7 +435,7 @@ def parameters_to_tuples(self, params, collection_formats): new_params = [] if collection_formats is None: collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 + for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 if k in collection_formats: collection_format = collection_formats[k] if collection_format == 'multi': @@ -471,7 +468,7 @@ def prepare_post_parameters(self, post_params=None, files=None): params = post_params if files: - for k, v in six.iteritems(files): + for k, v in files.items(): if not v: continue file_names = v if type(v) is list else [v] @@ -577,7 +574,7 @@ def __deserialize_primitive(self, data, klass): try: return klass(data) except UnicodeEncodeError: - return six.text_type(data) + return str(data) except TypeError: return data @@ -640,7 +637,7 @@ def __deserialize_model(self, data, klass): kwargs = {} if klass.openapi_types is not None: - for attr, attr_type in six.iteritems(klass.openapi_types): + for attr, attr_type in klass.openapi_types.items(): if (data is not None and klass.attribute_map[attr] in data and isinstance(data, (list, dict))): diff --git a/influxdb_client/_sync/rest.py b/influxdb_client/_sync/rest.py index 3f9aff5d..c469f1b5 100644 --- a/influxdb_client/_sync/rest.py +++ b/influxdb_client/_sync/rest.py @@ -16,10 +16,7 @@ import json import re import ssl - -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import urlencode +from urllib.parse import urlencode from influxdb_client.rest import ApiException @@ -157,7 +154,7 @@ def request(self, method, url, query_params=None, headers=None, timeout = None _configured_timeout = _request_timeout or self.configuration.timeout if _configured_timeout: - if isinstance(_configured_timeout, (int, float, ) if six.PY3 else (int, long, float, )): # noqa: E501,F821 + if isinstance(_configured_timeout, (int, float, )): # noqa: E501,F821 timeout = urllib3.Timeout(total=_configured_timeout / 1_000) elif (isinstance(_configured_timeout, tuple) and len(_configured_timeout) == 2): @@ -240,8 +237,7 @@ def request(self, method, url, query_params=None, headers=None, # In the python 3, the response.data is bytes. # we need to decode it to string. - if six.PY3: - r.data = r.data.decode('utf8') + r.data = r.data.decode('utf8') if not 200 <= r.status <= 299: raise ApiException(http_resp=r) diff --git a/influxdb_client/client/write/point.py b/influxdb_client/client/write/point.py index a8113da9..a0517cb7 100644 --- a/influxdb_client/client/write/point.py +++ b/influxdb_client/client/write/point.py @@ -7,7 +7,6 @@ from numbers import Integral from pytz import UTC -from six import iteritems from influxdb_client.client.util.date_utils import get_date_helper from influxdb_client.domain.write_precision import WritePrecision @@ -50,7 +49,7 @@ class Point(object): """ Point defines the values that will be written to the database. - Ref: http://bit.ly/influxdata-point + Ref: https://docs.influxdata.com/influxdb/latest/reference/key-concepts/data-elements/#point """ @staticmethod @@ -209,7 +208,7 @@ def __str__(self): def _append_tags(tags): _return = [] - for tag_key, tag_value in sorted(iteritems(tags)): + for tag_key, tag_value in sorted(tags.items()): if tag_value is None: continue @@ -225,7 +224,7 @@ def _append_tags(tags): def _append_fields(fields): _return = [] - for field, value in sorted(iteritems(fields)): + for field, value in sorted(fields.items()): if value is None: continue diff --git a/influxdb_client/configuration.py b/influxdb_client/configuration.py index d7e31e38..55caa8bb 100644 --- a/influxdb_client/configuration.py +++ b/influxdb_client/configuration.py @@ -13,13 +13,12 @@ from __future__ import absolute_import import copy +import http.client as httplib import logging import multiprocessing import sys -import urllib3 -import six -from six.moves import http_client as httplib +import urllib3 class TypeWithDefault(type): @@ -45,7 +44,7 @@ def set_default(cls, default): cls._default = copy.copy(default) -class Configuration(six.with_metaclass(TypeWithDefault, object)): +class Configuration(object, metaclass=TypeWithDefault): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -143,7 +142,7 @@ def logger_file(self, value): # then add file handler and remove stream handler. self.logger_file_handler = logging.FileHandler(self.__logger_file) self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.loggers): + for _, logger in self.loggers.items(): logger.addHandler(self.logger_file_handler) @property @@ -165,14 +164,14 @@ def debug(self, value): self.__debug = value if self.__debug: # if debug status is True, turn on debug logging - for _, logger in six.iteritems(self.loggers): + for _, logger in self.loggers.items(): logger.setLevel(logging.DEBUG) # turn on httplib debug httplib.HTTPConnection.debuglevel = 1 else: # if debug status is False, turn off debug logging, # setting log level to default `logging.WARNING` - for _, logger in six.iteritems(self.loggers): + for _, logger in self.loggers.items(): logger.setLevel(logging.WARNING) # turn off httplib debug httplib.HTTPConnection.debuglevel = 0 diff --git a/influxdb_client/domain/add_resource_member_request_body.py b/influxdb_client/domain/add_resource_member_request_body.py index 64d03580..ea399905 100644 --- a/influxdb_client/domain/add_resource_member_request_body.py +++ b/influxdb_client/domain/add_resource_member_request_body.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class AddResourceMemberRequestBody(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -93,7 +91,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/analyze_query_response.py b/influxdb_client/domain/analyze_query_response.py index 061b7418..ef7d1828 100644 --- a/influxdb_client/domain/analyze_query_response.py +++ b/influxdb_client/domain/analyze_query_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class AnalyzeQueryResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/analyze_query_response_errors.py b/influxdb_client/domain/analyze_query_response_errors.py index bbad3fef..7a35dc68 100644 --- a/influxdb_client/domain/analyze_query_response_errors.py +++ b/influxdb_client/domain/analyze_query_response_errors.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class AnalyzeQueryResponseErrors(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/array_expression.py b/influxdb_client/domain/array_expression.py index ad13398a..0c285317 100644 --- a/influxdb_client/domain/array_expression.py +++ b/influxdb_client/domain/array_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -103,7 +102,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/ast_response.py b/influxdb_client/domain/ast_response.py index 7cb8089d..227cfddd 100644 --- a/influxdb_client/domain/ast_response.py +++ b/influxdb_client/domain/ast_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ASTResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/authorization.py b/influxdb_client/domain/authorization.py index 8aff72a5..f0146c1e 100644 --- a/influxdb_client/domain/authorization.py +++ b/influxdb_client/domain/authorization.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.authorization_update_request import AuthorizationUpdateRequest @@ -307,7 +306,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/authorization_post_request.py b/influxdb_client/domain/authorization_post_request.py index 412025d9..7932e618 100644 --- a/influxdb_client/domain/authorization_post_request.py +++ b/influxdb_client/domain/authorization_post_request.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.authorization_update_request import AuthorizationUpdateRequest @@ -134,7 +133,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/authorization_update_request.py b/influxdb_client/domain/authorization_update_request.py index e1de9ba6..82c60fe5 100644 --- a/influxdb_client/domain/authorization_update_request.py +++ b/influxdb_client/domain/authorization_update_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class AuthorizationUpdateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -100,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/authorizations.py b/influxdb_client/domain/authorizations.py index 8d17f78f..ad3a4d09 100644 --- a/influxdb_client/domain/authorizations.py +++ b/influxdb_client/domain/authorizations.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Authorizations(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/axes.py b/influxdb_client/domain/axes.py index 0e8117cc..738e3b3b 100644 --- a/influxdb_client/domain/axes.py +++ b/influxdb_client/domain/axes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Axes(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -94,7 +92,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/axis.py b/influxdb_client/domain/axis.py index 1337cd8b..44420753 100644 --- a/influxdb_client/domain/axis.py +++ b/influxdb_client/domain/axis.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Axis(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -204,7 +202,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/axis_scale.py b/influxdb_client/domain/axis_scale.py index 1fafa2f1..a678feff 100644 --- a/influxdb_client/domain/axis_scale.py +++ b/influxdb_client/domain/axis_scale.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class AxisScale(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -50,7 +48,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/bad_statement.py b/influxdb_client/domain/bad_statement.py index 2ee727bb..d1f455e6 100644 --- a/influxdb_client/domain/bad_statement.py +++ b/influxdb_client/domain/bad_statement.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -103,7 +102,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/band_view_properties.py b/influxdb_client/domain/band_view_properties.py index 6ad9b1c5..aa1250bf 100644 --- a/influxdb_client/domain/band_view_properties.py +++ b/influxdb_client/domain/band_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -709,7 +708,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/binary_expression.py b/influxdb_client/domain/binary_expression.py index 4360aa07..858d4e11 100644 --- a/influxdb_client/domain/binary_expression.py +++ b/influxdb_client/domain/binary_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -145,7 +144,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/block.py b/influxdb_client/domain/block.py index 4eebbbd4..b2ddc366 100644 --- a/influxdb_client/domain/block.py +++ b/influxdb_client/domain/block.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.node import Node @@ -103,7 +102,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/boolean_literal.py b/influxdb_client/domain/boolean_literal.py index 65957952..693d7be1 100644 --- a/influxdb_client/domain/boolean_literal.py +++ b/influxdb_client/domain/boolean_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/bucket.py b/influxdb_client/domain/bucket.py index d6b5d819..9ca86648 100644 --- a/influxdb_client/domain/bucket.py +++ b/influxdb_client/domain/bucket.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Bucket(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -328,7 +326,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/bucket_links.py b/influxdb_client/domain/bucket_links.py index 483150e8..a4cef1aa 100644 --- a/influxdb_client/domain/bucket_links.py +++ b/influxdb_client/domain/bucket_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BucketLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -208,7 +206,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/bucket_metadata_manifest.py b/influxdb_client/domain/bucket_metadata_manifest.py index c84d8bef..c87ec20e 100644 --- a/influxdb_client/domain/bucket_metadata_manifest.py +++ b/influxdb_client/domain/bucket_metadata_manifest.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BucketMetadataManifest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -213,7 +211,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/bucket_retention_rules.py b/influxdb_client/domain/bucket_retention_rules.py index c528aac6..e70c7d84 100644 --- a/influxdb_client/domain/bucket_retention_rules.py +++ b/influxdb_client/domain/bucket_retention_rules.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BucketRetentionRules(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -127,7 +125,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/bucket_shard_mapping.py b/influxdb_client/domain/bucket_shard_mapping.py index 84253b77..1bf7c277 100644 --- a/influxdb_client/domain/bucket_shard_mapping.py +++ b/influxdb_client/domain/bucket_shard_mapping.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BucketShardMapping(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -94,7 +92,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/buckets.py b/influxdb_client/domain/buckets.py index 70325f3c..de3277f7 100644 --- a/influxdb_client/domain/buckets.py +++ b/influxdb_client/domain/buckets.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Buckets(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/builder_aggregate_function_type.py b/influxdb_client/domain/builder_aggregate_function_type.py index 3910d072..0cbf6b67 100644 --- a/influxdb_client/domain/builder_aggregate_function_type.py +++ b/influxdb_client/domain/builder_aggregate_function_type.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BuilderAggregateFunctionType(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -50,7 +48,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/builder_config.py b/influxdb_client/domain/builder_config.py index ce24f2e5..e8a2d025 100644 --- a/influxdb_client/domain/builder_config.py +++ b/influxdb_client/domain/builder_config.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BuilderConfig(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/builder_config_aggregate_window.py b/influxdb_client/domain/builder_config_aggregate_window.py index 919830a7..bcdde38d 100644 --- a/influxdb_client/domain/builder_config_aggregate_window.py +++ b/influxdb_client/domain/builder_config_aggregate_window.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BuilderConfigAggregateWindow(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/builder_functions_type.py b/influxdb_client/domain/builder_functions_type.py index d1818642..4ebf44ea 100644 --- a/influxdb_client/domain/builder_functions_type.py +++ b/influxdb_client/domain/builder_functions_type.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BuilderFunctionsType(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/builder_tags_type.py b/influxdb_client/domain/builder_tags_type.py index a3297777..fcf7e05e 100644 --- a/influxdb_client/domain/builder_tags_type.py +++ b/influxdb_client/domain/builder_tags_type.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class BuilderTagsType(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/builtin_statement.py b/influxdb_client/domain/builtin_statement.py index 4e9f4dad..51f24a31 100644 --- a/influxdb_client/domain/builtin_statement.py +++ b/influxdb_client/domain/builtin_statement.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/call_expression.py b/influxdb_client/domain/call_expression.py index 177c2476..922b705d 100644 --- a/influxdb_client/domain/call_expression.py +++ b/influxdb_client/domain/call_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -126,7 +125,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/cell.py b/influxdb_client/domain/cell.py index 684080fc..d52d9476 100644 --- a/influxdb_client/domain/cell.py +++ b/influxdb_client/domain/cell.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Cell(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -211,7 +209,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/cell_links.py b/influxdb_client/domain/cell_links.py index 7a6777ac..fc556c72 100644 --- a/influxdb_client/domain/cell_links.py +++ b/influxdb_client/domain/cell_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CellLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/cell_update.py b/influxdb_client/domain/cell_update.py index dcfdb3f8..d58c6257 100644 --- a/influxdb_client/domain/cell_update.py +++ b/influxdb_client/domain/cell_update.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CellUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/cell_with_view_properties.py b/influxdb_client/domain/cell_with_view_properties.py index 83a6ebf7..4379cd11 100644 --- a/influxdb_client/domain/cell_with_view_properties.py +++ b/influxdb_client/domain/cell_with_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.cell import Cell @@ -109,7 +108,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/check.py b/influxdb_client/domain/check.py index b9a57208..c85e4a55 100644 --- a/influxdb_client/domain/check.py +++ b/influxdb_client/domain/check.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Check(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -82,7 +80,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/check_base.py b/influxdb_client/domain/check_base.py index af2a1608..00964fc2 100644 --- a/influxdb_client/domain/check_base.py +++ b/influxdb_client/domain/check_base.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CheckBase(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -320,7 +318,7 @@ def description(self, description): def latest_completed(self): """Get the latest_completed of this CheckBase. - Timestamp of latest scheduled, completed run, RFC3339. + Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run. :return: The latest_completed of this CheckBase. :rtype: datetime @@ -331,7 +329,7 @@ def latest_completed(self): def latest_completed(self, latest_completed): """Set the latest_completed of this CheckBase. - Timestamp of latest scheduled, completed run, RFC3339. + Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run. :param latest_completed: The latest_completed of this CheckBase. :type: datetime @@ -414,7 +412,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/check_base_links.py b/influxdb_client/domain/check_base_links.py index 958401ae..19c28aa4 100644 --- a/influxdb_client/domain/check_base_links.py +++ b/influxdb_client/domain/check_base_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CheckBaseLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -181,7 +179,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/check_discriminator.py b/influxdb_client/domain/check_discriminator.py index a74f5815..c2ebfea8 100644 --- a/influxdb_client/domain/check_discriminator.py +++ b/influxdb_client/domain/check_discriminator.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.check_base import CheckBase @@ -77,7 +76,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/check_patch.py b/influxdb_client/domain/check_patch.py index 0be11b2d..014e910b 100644 --- a/influxdb_client/domain/check_patch.py +++ b/influxdb_client/domain/check_patch.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CheckPatch(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/check_status_level.py b/influxdb_client/domain/check_status_level.py index a15cce84..476f2b56 100644 --- a/influxdb_client/domain/check_status_level.py +++ b/influxdb_client/domain/check_status_level.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CheckStatusLevel(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -53,7 +51,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/check_view_properties.py b/influxdb_client/domain/check_view_properties.py index 9b409c1e..9e96fea8 100644 --- a/influxdb_client/domain/check_view_properties.py +++ b/influxdb_client/domain/check_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -288,7 +287,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/checks.py b/influxdb_client/domain/checks.py index ac072448..05083fcc 100644 --- a/influxdb_client/domain/checks.py +++ b/influxdb_client/domain/checks.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Checks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/conditional_expression.py b/influxdb_client/domain/conditional_expression.py index 514f7e72..da5af433 100644 --- a/influxdb_client/domain/conditional_expression.py +++ b/influxdb_client/domain/conditional_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -145,7 +144,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/config.py b/influxdb_client/domain/config.py index 617e7989..cc4a0338 100644 --- a/influxdb_client/domain/config.py +++ b/influxdb_client/domain/config.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Config(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -32,7 +30,7 @@ class Config(object): and the value is json key in definition. """ openapi_types = { - 'config': 'object' + 'config': 'dict(str, object)' } attribute_map = { @@ -52,7 +50,7 @@ def config(self): """Get the config of this Config. :return: The config of this Config. - :rtype: object + :rtype: dict(str, object) """ # noqa: E501 return self._config @@ -61,7 +59,7 @@ def config(self, config): """Set the config of this Config. :param config: The config of this Config. - :type: object + :type: dict(str, object) """ # noqa: E501 self._config = config @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/constant_variable_properties.py b/influxdb_client/domain/constant_variable_properties.py index 7273f2d1..806045e8 100644 --- a/influxdb_client/domain/constant_variable_properties.py +++ b/influxdb_client/domain/constant_variable_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.variable_properties import VariableProperties @@ -95,7 +94,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/create_cell.py b/influxdb_client/domain/create_cell.py index b5006987..1251c2f1 100644 --- a/influxdb_client/domain/create_cell.py +++ b/influxdb_client/domain/create_cell.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CreateCell(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -188,7 +186,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/create_dashboard_request.py b/influxdb_client/domain/create_dashboard_request.py index 13289742..e5de81ee 100644 --- a/influxdb_client/domain/create_dashboard_request.py +++ b/influxdb_client/domain/create_dashboard_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class CreateDashboardRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -129,7 +127,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/custom_check.py b/influxdb_client/domain/custom_check.py index 2694aa85..88c0180d 100644 --- a/influxdb_client/domain/custom_check.py +++ b/influxdb_client/domain/custom_check.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.check_discriminator import CheckDiscriminator @@ -103,7 +102,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dashboard.py b/influxdb_client/domain/dashboard.py index e906deb4..4b4e47e9 100644 --- a/influxdb_client/domain/dashboard.py +++ b/influxdb_client/domain/dashboard.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.create_dashboard_request import CreateDashboardRequest @@ -170,7 +169,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dashboard_color.py b/influxdb_client/domain/dashboard_color.py index c48dc962..b03a4e2f 100644 --- a/influxdb_client/domain/dashboard_color.py +++ b/influxdb_client/domain/dashboard_color.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DashboardColor(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -190,7 +188,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dashboard_query.py b/influxdb_client/domain/dashboard_query.py index 7b27fa3f..e23c61f7 100644 --- a/influxdb_client/domain/dashboard_query.py +++ b/influxdb_client/domain/dashboard_query.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DashboardQuery(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -142,7 +140,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dashboard_with_view_properties.py b/influxdb_client/domain/dashboard_with_view_properties.py index bee8930f..08a78d2c 100644 --- a/influxdb_client/domain/dashboard_with_view_properties.py +++ b/influxdb_client/domain/dashboard_with_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.create_dashboard_request import CreateDashboardRequest @@ -170,7 +169,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dashboards.py b/influxdb_client/domain/dashboards.py index a35fd815..e15de928 100644 --- a/influxdb_client/domain/dashboards.py +++ b/influxdb_client/domain/dashboards.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Dashboards(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/date_time_literal.py b/influxdb_client/domain/date_time_literal.py index 8e594f7c..ce2280f3 100644 --- a/influxdb_client/domain/date_time_literal.py +++ b/influxdb_client/domain/date_time_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dbr_ps.py b/influxdb_client/domain/dbr_ps.py index 6a3cc411..27617a99 100644 --- a/influxdb_client/domain/dbr_ps.py +++ b/influxdb_client/domain/dbr_ps.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DBRPs(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dbrp.py b/influxdb_client/domain/dbrp.py index 87e1c64e..e74c2435 100644 --- a/influxdb_client/domain/dbrp.py +++ b/influxdb_client/domain/dbrp.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DBRP(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -237,7 +235,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dbrp_create.py b/influxdb_client/domain/dbrp_create.py index df8198e1..995efe5c 100644 --- a/influxdb_client/domain/dbrp_create.py +++ b/influxdb_client/domain/dbrp_create.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DBRPCreate(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -211,7 +209,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dbrp_get.py b/influxdb_client/domain/dbrp_get.py index 65cbc2f2..375f0a55 100644 --- a/influxdb_client/domain/dbrp_get.py +++ b/influxdb_client/domain/dbrp_get.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DBRPGet(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dbrp_update.py b/influxdb_client/domain/dbrp_update.py index ccfa57a3..7e8da0bd 100644 --- a/influxdb_client/domain/dbrp_update.py +++ b/influxdb_client/domain/dbrp_update.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DBRPUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -96,7 +94,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/deadman_check.py b/influxdb_client/domain/deadman_check.py index 981ca55f..81e368fa 100644 --- a/influxdb_client/domain/deadman_check.py +++ b/influxdb_client/domain/deadman_check.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.check_discriminator import CheckDiscriminator @@ -315,7 +314,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/decimal_places.py b/influxdb_client/domain/decimal_places.py index f5541dda..7a855a6d 100644 --- a/influxdb_client/domain/decimal_places.py +++ b/influxdb_client/domain/decimal_places.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DecimalPlaces(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -100,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/delete_predicate_request.py b/influxdb_client/domain/delete_predicate_request.py index 7afb278e..1fbb5cd2 100644 --- a/influxdb_client/domain/delete_predicate_request.py +++ b/influxdb_client/domain/delete_predicate_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DeletePredicateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -59,7 +57,7 @@ def __init__(self, start=None, stop=None, predicate=None): # noqa: E501,D401,D4 def start(self): """Get the start of this DeletePredicateRequest. - RFC3339Nano + A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)). :return: The start of this DeletePredicateRequest. :rtype: datetime @@ -70,7 +68,7 @@ def start(self): def start(self, start): """Set the start of this DeletePredicateRequest. - RFC3339Nano + A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)). :param start: The start of this DeletePredicateRequest. :type: datetime @@ -83,7 +81,7 @@ def start(self, start): def stop(self): """Get the stop of this DeletePredicateRequest. - RFC3339Nano + A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)). :return: The stop of this DeletePredicateRequest. :rtype: datetime @@ -94,7 +92,7 @@ def stop(self): def stop(self, stop): """Set the stop of this DeletePredicateRequest. - RFC3339Nano + A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)). :param stop: The stop of this DeletePredicateRequest. :type: datetime @@ -107,7 +105,7 @@ def stop(self, stop): def predicate(self): """Get the predicate of this DeletePredicateRequest. - InfluxQL-like delete statement + An expression in [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). :return: The predicate of this DeletePredicateRequest. :rtype: str @@ -118,7 +116,7 @@ def predicate(self): def predicate(self, predicate): """Set the predicate of this DeletePredicateRequest. - InfluxQL-like delete statement + An expression in [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). :param predicate: The predicate of this DeletePredicateRequest. :type: str @@ -129,7 +127,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dialect.py b/influxdb_client/domain/dialect.py index 4096b89e..648e66b7 100644 --- a/influxdb_client/domain/dialect.py +++ b/influxdb_client/domain/dialect.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Dialect(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -196,7 +194,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dict_expression.py b/influxdb_client/domain/dict_expression.py index 71a417f5..f6c0242c 100644 --- a/influxdb_client/domain/dict_expression.py +++ b/influxdb_client/domain/dict_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -103,7 +102,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/dict_item.py b/influxdb_client/domain/dict_item.py index edfaa2b7..77beac92 100644 --- a/influxdb_client/domain/dict_item.py +++ b/influxdb_client/domain/dict_item.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class DictItem(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -119,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/duration.py b/influxdb_client/domain/duration.py index fff99e1c..51044444 100644 --- a/influxdb_client/domain/duration.py +++ b/influxdb_client/domain/duration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Duration(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -119,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/duration_literal.py b/influxdb_client/domain/duration_literal.py index 6b6b5266..f6d63965 100644 --- a/influxdb_client/domain/duration_literal.py +++ b/influxdb_client/domain/duration_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -103,7 +102,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/error.py b/influxdb_client/domain/error.py index 34f7d7a1..2a3655bb 100644 --- a/influxdb_client/domain/error.py +++ b/influxdb_client/domain/error.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Error(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -155,7 +153,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/expression.py b/influxdb_client/domain/expression.py index 809a9e5e..9d449fd4 100644 --- a/influxdb_client/domain/expression.py +++ b/influxdb_client/domain/expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.node import Node @@ -47,7 +46,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/expression_statement.py b/influxdb_client/domain/expression_statement.py index bc6e3b38..04dd216d 100644 --- a/influxdb_client/domain/expression_statement.py +++ b/influxdb_client/domain/expression_statement.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/field.py b/influxdb_client/domain/field.py index 6821696b..62bc3d13 100644 --- a/influxdb_client/domain/field.py +++ b/influxdb_client/domain/field.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Field(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -154,7 +152,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/file.py b/influxdb_client/domain/file.py index add5ff4e..6d3ac812 100644 --- a/influxdb_client/domain/file.py +++ b/influxdb_client/domain/file.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class File(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -177,7 +175,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/float_literal.py b/influxdb_client/domain/float_literal.py index 215e91a6..41e8ec35 100644 --- a/influxdb_client/domain/float_literal.py +++ b/influxdb_client/domain/float_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/flux_response.py b/influxdb_client/domain/flux_response.py index ef5deeb3..94608114 100644 --- a/influxdb_client/domain/flux_response.py +++ b/influxdb_client/domain/flux_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class FluxResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/flux_suggestion.py b/influxdb_client/domain/flux_suggestion.py index 83af0367..46c692fb 100644 --- a/influxdb_client/domain/flux_suggestion.py +++ b/influxdb_client/domain/flux_suggestion.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class FluxSuggestion(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/flux_suggestions.py b/influxdb_client/domain/flux_suggestions.py index d6e2ab63..38c3ccf8 100644 --- a/influxdb_client/domain/flux_suggestions.py +++ b/influxdb_client/domain/flux_suggestions.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class FluxSuggestions(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/function_expression.py b/influxdb_client/domain/function_expression.py index 753d8c17..b06c7387 100644 --- a/influxdb_client/domain/function_expression.py +++ b/influxdb_client/domain/function_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -126,7 +125,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/gauge_view_properties.py b/influxdb_client/domain/gauge_view_properties.py index 11aa180a..23785987 100644 --- a/influxdb_client/domain/gauge_view_properties.py +++ b/influxdb_client/domain/gauge_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -321,7 +320,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/greater_threshold.py b/influxdb_client/domain/greater_threshold.py index 341bb0b6..b857f132 100644 --- a/influxdb_client/domain/greater_threshold.py +++ b/influxdb_client/domain/greater_threshold.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.threshold_base import ThresholdBase @@ -101,7 +100,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/health_check.py b/influxdb_client/domain/health_check.py index 5e7808a1..b3552437 100644 --- a/influxdb_client/domain/health_check.py +++ b/influxdb_client/domain/health_check.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class HealthCheck(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -186,7 +184,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/heatmap_view_properties.py b/influxdb_client/domain/heatmap_view_properties.py index 582e8b52..c94ae277 100644 --- a/influxdb_client/domain/heatmap_view_properties.py +++ b/influxdb_client/domain/heatmap_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -764,7 +763,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/histogram_view_properties.py b/influxdb_client/domain/histogram_view_properties.py index ee02018f..75057430 100644 --- a/influxdb_client/domain/histogram_view_properties.py +++ b/influxdb_client/domain/histogram_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -437,7 +436,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/http_notification_endpoint.py b/influxdb_client/domain/http_notification_endpoint.py index 3878976c..d8a48851 100644 --- a/influxdb_client/domain/http_notification_endpoint.py +++ b/influxdb_client/domain/http_notification_endpoint.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_endpoint_discriminator import NotificationEndpointDiscriminator @@ -262,7 +261,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/http_notification_rule.py b/influxdb_client/domain/http_notification_rule.py index b64be1f1..050b3fcc 100644 --- a/influxdb_client/domain/http_notification_rule.py +++ b/influxdb_client/domain/http_notification_rule.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.http_notification_rule_base import HTTPNotificationRuleBase @@ -97,7 +96,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/http_notification_rule_base.py b/influxdb_client/domain/http_notification_rule_base.py index cd79a407..521f9084 100644 --- a/influxdb_client/domain/http_notification_rule_base.py +++ b/influxdb_client/domain/http_notification_rule_base.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_rule_discriminator import NotificationRuleDiscriminator @@ -142,7 +141,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/identifier.py b/influxdb_client/domain/identifier.py index cfba561c..aa9a3fb2 100644 --- a/influxdb_client/domain/identifier.py +++ b/influxdb_client/domain/identifier.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.property_key import PropertyKey @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/import_declaration.py b/influxdb_client/domain/import_declaration.py index a5cac46f..435380cf 100644 --- a/influxdb_client/domain/import_declaration.py +++ b/influxdb_client/domain/import_declaration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ImportDeclaration(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -119,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/index_expression.py b/influxdb_client/domain/index_expression.py index 4d63f9d8..4aedd731 100644 --- a/influxdb_client/domain/index_expression.py +++ b/influxdb_client/domain/index_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -122,7 +121,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/integer_literal.py b/influxdb_client/domain/integer_literal.py index f999eb2d..dcedf78d 100644 --- a/influxdb_client/domain/integer_literal.py +++ b/influxdb_client/domain/integer_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/is_onboarding.py b/influxdb_client/domain/is_onboarding.py index 30b93690..c5989a8a 100644 --- a/influxdb_client/domain/is_onboarding.py +++ b/influxdb_client/domain/is_onboarding.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class IsOnboarding(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -73,7 +71,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/label.py b/influxdb_client/domain/label.py index 2b7edcda..f417dd10 100644 --- a/influxdb_client/domain/label.py +++ b/influxdb_client/domain/label.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Label(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -142,7 +140,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/label_create_request.py b/influxdb_client/domain/label_create_request.py index 3bf977b2..24a63b92 100644 --- a/influxdb_client/domain/label_create_request.py +++ b/influxdb_client/domain/label_create_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LabelCreateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -121,7 +119,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/label_mapping.py b/influxdb_client/domain/label_mapping.py index 05e74b48..ab0691d6 100644 --- a/influxdb_client/domain/label_mapping.py +++ b/influxdb_client/domain/label_mapping.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LabelMapping(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/label_response.py b/influxdb_client/domain/label_response.py index f84969bf..8eed8406 100644 --- a/influxdb_client/domain/label_response.py +++ b/influxdb_client/domain/label_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LabelResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/label_update.py b/influxdb_client/domain/label_update.py index ef4fc6f7..31c79558 100644 --- a/influxdb_client/domain/label_update.py +++ b/influxdb_client/domain/label_update.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LabelUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -96,7 +94,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/labels_response.py b/influxdb_client/domain/labels_response.py index 15267fa3..fee2fdc9 100644 --- a/influxdb_client/domain/labels_response.py +++ b/influxdb_client/domain/labels_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LabelsResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/language_request.py b/influxdb_client/domain/language_request.py index 1f9da8cf..87dde6b7 100644 --- a/influxdb_client/domain/language_request.py +++ b/influxdb_client/domain/language_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LanguageRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -74,7 +72,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/legacy_authorization_post_request.py b/influxdb_client/domain/legacy_authorization_post_request.py index 58dc2758..2976671b 100644 --- a/influxdb_client/domain/legacy_authorization_post_request.py +++ b/influxdb_client/domain/legacy_authorization_post_request.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.authorization_update_request import AuthorizationUpdateRequest @@ -161,7 +160,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/lesser_threshold.py b/influxdb_client/domain/lesser_threshold.py index 48de49b7..a75a19e2 100644 --- a/influxdb_client/domain/lesser_threshold.py +++ b/influxdb_client/domain/lesser_threshold.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.threshold_base import ThresholdBase @@ -101,7 +100,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/line_plus_single_stat_properties.py b/influxdb_client/domain/line_plus_single_stat_properties.py index e1c94ea6..ca236249 100644 --- a/influxdb_client/domain/line_plus_single_stat_properties.py +++ b/influxdb_client/domain/line_plus_single_stat_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -735,7 +734,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/line_protocol_error.py b/influxdb_client/domain/line_protocol_error.py index 87c6db20..2050a8b2 100644 --- a/influxdb_client/domain/line_protocol_error.py +++ b/influxdb_client/domain/line_protocol_error.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LineProtocolError(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -182,7 +180,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/line_protocol_length_error.py b/influxdb_client/domain/line_protocol_length_error.py index 7a677477..d40aa6ae 100644 --- a/influxdb_client/domain/line_protocol_length_error.py +++ b/influxdb_client/domain/line_protocol_length_error.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LineProtocolLengthError(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -102,7 +100,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/links.py b/influxdb_client/domain/links.py index 85dcb570..d9844c8b 100644 --- a/influxdb_client/domain/links.py +++ b/influxdb_client/domain/links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Links(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -128,7 +126,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/list_stacks_response.py b/influxdb_client/domain/list_stacks_response.py index e1004c11..084e3402 100644 --- a/influxdb_client/domain/list_stacks_response.py +++ b/influxdb_client/domain/list_stacks_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ListStacksResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/log_event.py b/influxdb_client/domain/log_event.py index 4b1724e5..3eede677 100644 --- a/influxdb_client/domain/log_event.py +++ b/influxdb_client/domain/log_event.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class LogEvent(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -127,7 +125,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/logical_expression.py b/influxdb_client/domain/logical_expression.py index 9c43dc30..25a1aa9b 100644 --- a/influxdb_client/domain/logical_expression.py +++ b/influxdb_client/domain/logical_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -145,7 +144,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/logs.py b/influxdb_client/domain/logs.py index a042e36f..0dd2acfd 100644 --- a/influxdb_client/domain/logs.py +++ b/influxdb_client/domain/logs.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Logs(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/map_variable_properties.py b/influxdb_client/domain/map_variable_properties.py index 650e417d..8648d9cb 100644 --- a/influxdb_client/domain/map_variable_properties.py +++ b/influxdb_client/domain/map_variable_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.variable_properties import VariableProperties @@ -95,7 +94,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/markdown_view_properties.py b/influxdb_client/domain/markdown_view_properties.py index 2535d1a2..cc797f06 100644 --- a/influxdb_client/domain/markdown_view_properties.py +++ b/influxdb_client/domain/markdown_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -121,7 +120,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/member_assignment.py b/influxdb_client/domain/member_assignment.py index 35223404..7773b0e4 100644 --- a/influxdb_client/domain/member_assignment.py +++ b/influxdb_client/domain/member_assignment.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -122,7 +121,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/member_expression.py b/influxdb_client/domain/member_expression.py index 6704f3bd..decf2c48 100644 --- a/influxdb_client/domain/member_expression.py +++ b/influxdb_client/domain/member_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -122,7 +121,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/metadata_backup.py b/influxdb_client/domain/metadata_backup.py index 03cbb98e..ebe498fc 100644 --- a/influxdb_client/domain/metadata_backup.py +++ b/influxdb_client/domain/metadata_backup.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class MetadataBackup(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -118,7 +116,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/model_property.py b/influxdb_client/domain/model_property.py index feefba76..cbdcd249 100644 --- a/influxdb_client/domain/model_property.py +++ b/influxdb_client/domain/model_property.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ModelProperty(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -119,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/mosaic_view_properties.py b/influxdb_client/domain/mosaic_view_properties.py index 0464ee4a..1ea88972 100644 --- a/influxdb_client/domain/mosaic_view_properties.py +++ b/influxdb_client/domain/mosaic_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -741,7 +740,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/node.py b/influxdb_client/domain/node.py index 454a983d..c254c62a 100644 --- a/influxdb_client/domain/node.py +++ b/influxdb_client/domain/node.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Node(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -44,7 +42,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_endpoint.py b/influxdb_client/domain/notification_endpoint.py index ac698294..3d0a886e 100644 --- a/influxdb_client/domain/notification_endpoint.py +++ b/influxdb_client/domain/notification_endpoint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationEndpoint(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -83,7 +81,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_endpoint_base.py b/influxdb_client/domain/notification_endpoint_base.py index 16da4e9c..3ac9da02 100644 --- a/influxdb_client/domain/notification_endpoint_base.py +++ b/influxdb_client/domain/notification_endpoint_base.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationEndpointBase(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -309,7 +307,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_endpoint_base_links.py b/influxdb_client/domain/notification_endpoint_base_links.py index cd4a5b5e..4ff93cc7 100644 --- a/influxdb_client/domain/notification_endpoint_base_links.py +++ b/influxdb_client/domain/notification_endpoint_base_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationEndpointBaseLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -154,7 +152,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_endpoint_discriminator.py b/influxdb_client/domain/notification_endpoint_discriminator.py index 330f5ad3..b285c12d 100644 --- a/influxdb_client/domain/notification_endpoint_discriminator.py +++ b/influxdb_client/domain/notification_endpoint_discriminator.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_endpoint_base import NotificationEndpointBase @@ -69,7 +68,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_endpoint_type.py b/influxdb_client/domain/notification_endpoint_type.py index 16596e01..50ae3382 100644 --- a/influxdb_client/domain/notification_endpoint_type.py +++ b/influxdb_client/domain/notification_endpoint_type.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationEndpointType(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -52,7 +50,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_endpoint_update.py b/influxdb_client/domain/notification_endpoint_update.py index 6b1c15b3..4e63b1ff 100644 --- a/influxdb_client/domain/notification_endpoint_update.py +++ b/influxdb_client/domain/notification_endpoint_update.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationEndpointUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_endpoints.py b/influxdb_client/domain/notification_endpoints.py index b4b83860..55c2ec93 100644 --- a/influxdb_client/domain/notification_endpoints.py +++ b/influxdb_client/domain/notification_endpoints.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationEndpoints(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_rule.py b/influxdb_client/domain/notification_rule.py index b82016bc..b22e53bb 100644 --- a/influxdb_client/domain/notification_rule.py +++ b/influxdb_client/domain/notification_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationRule(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -88,7 +86,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_rule_base.py b/influxdb_client/domain/notification_rule_base.py index 90547564..08efbf26 100644 --- a/influxdb_client/domain/notification_rule_base.py +++ b/influxdb_client/domain/notification_rule_base.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationRuleBase(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -156,7 +154,7 @@ def __init__(self, latest_completed=None, last_run_status=None, last_run_error=N def latest_completed(self): """Get the latest_completed of this NotificationRuleBase. - Timestamp of latest scheduled, completed run, RFC3339. + Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run. :return: The latest_completed of this NotificationRuleBase. :rtype: datetime @@ -167,7 +165,7 @@ def latest_completed(self): def latest_completed(self, latest_completed): """Set the latest_completed of this NotificationRuleBase. - Timestamp of latest scheduled, completed run, RFC3339. + Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run. :param latest_completed: The latest_completed of this NotificationRuleBase. :type: datetime @@ -628,7 +626,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_rule_base_links.py b/influxdb_client/domain/notification_rule_base_links.py index 8cedc670..2f6e1c25 100644 --- a/influxdb_client/domain/notification_rule_base_links.py +++ b/influxdb_client/domain/notification_rule_base_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationRuleBaseLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -181,7 +179,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_rule_discriminator.py b/influxdb_client/domain/notification_rule_discriminator.py index 3ccc894f..a677fa52 100644 --- a/influxdb_client/domain/notification_rule_discriminator.py +++ b/influxdb_client/domain/notification_rule_discriminator.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_rule_base import NotificationRuleBase @@ -93,7 +92,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_rule_update.py b/influxdb_client/domain/notification_rule_update.py index 71265143..a8e9fa1f 100644 --- a/influxdb_client/domain/notification_rule_update.py +++ b/influxdb_client/domain/notification_rule_update.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationRuleUpdate(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/notification_rules.py b/influxdb_client/domain/notification_rules.py index 26df980e..08eaf6d8 100644 --- a/influxdb_client/domain/notification_rules.py +++ b/influxdb_client/domain/notification_rules.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class NotificationRules(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/object_expression.py b/influxdb_client/domain/object_expression.py index e56b4ddc..05ca2a05 100644 --- a/influxdb_client/domain/object_expression.py +++ b/influxdb_client/domain/object_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -103,7 +102,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/onboarding_request.py b/influxdb_client/domain/onboarding_request.py index 735d6623..7ca4bf0c 100644 --- a/influxdb_client/domain/onboarding_request.py +++ b/influxdb_client/domain/onboarding_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class OnboardingRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -218,7 +216,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/onboarding_response.py b/influxdb_client/domain/onboarding_response.py index 8721097f..62db52f5 100644 --- a/influxdb_client/domain/onboarding_response.py +++ b/influxdb_client/domain/onboarding_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class OnboardingResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/option_statement.py b/influxdb_client/domain/option_statement.py index 23911f5b..4ab15699 100644 --- a/influxdb_client/domain/option_statement.py +++ b/influxdb_client/domain/option_statement.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/organization.py b/influxdb_client/domain/organization.py index 276fec85..78cc5af8 100644 --- a/influxdb_client/domain/organization.py +++ b/influxdb_client/domain/organization.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Organization(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -212,7 +210,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/organization_links.py b/influxdb_client/domain/organization_links.py index 31b6dbc8..a2cca042 100644 --- a/influxdb_client/domain/organization_links.py +++ b/influxdb_client/domain/organization_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class OrganizationLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -262,7 +260,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/organizations.py b/influxdb_client/domain/organizations.py index 80c9a648..844c7faa 100644 --- a/influxdb_client/domain/organizations.py +++ b/influxdb_client/domain/organizations.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Organizations(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/package.py b/influxdb_client/domain/package.py index 8ba3a525..9c328e6f 100644 --- a/influxdb_client/domain/package.py +++ b/influxdb_client/domain/package.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Package(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -154,7 +152,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/package_clause.py b/influxdb_client/domain/package_clause.py index 657d6357..b9cb6abc 100644 --- a/influxdb_client/domain/package_clause.py +++ b/influxdb_client/domain/package_clause.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PackageClause(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -96,7 +94,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/pager_duty_notification_endpoint.py b/influxdb_client/domain/pager_duty_notification_endpoint.py index d6b48749..f57b6c00 100644 --- a/influxdb_client/domain/pager_duty_notification_endpoint.py +++ b/influxdb_client/domain/pager_duty_notification_endpoint.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_endpoint_discriminator import NotificationEndpointDiscriminator @@ -118,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/pager_duty_notification_rule.py b/influxdb_client/domain/pager_duty_notification_rule.py index 99c90f81..8ccf2bd2 100644 --- a/influxdb_client/domain/pager_duty_notification_rule.py +++ b/influxdb_client/domain/pager_duty_notification_rule.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.pager_duty_notification_rule_base import PagerDutyNotificationRuleBase @@ -97,7 +96,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/pager_duty_notification_rule_base.py b/influxdb_client/domain/pager_duty_notification_rule_base.py index 7f215259..8e447743 100644 --- a/influxdb_client/domain/pager_duty_notification_rule_base.py +++ b/influxdb_client/domain/pager_duty_notification_rule_base.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_rule_discriminator import NotificationRuleDiscriminator @@ -143,7 +142,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/paren_expression.py b/influxdb_client/domain/paren_expression.py index 18508b37..68bcfe03 100644 --- a/influxdb_client/domain/paren_expression.py +++ b/influxdb_client/domain/paren_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/password_reset_body.py b/influxdb_client/domain/password_reset_body.py index a93b8437..22dc5c97 100644 --- a/influxdb_client/domain/password_reset_body.py +++ b/influxdb_client/domain/password_reset_body.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PasswordResetBody(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -70,7 +68,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/patch_bucket_request.py b/influxdb_client/domain/patch_bucket_request.py index 8f4d4b7b..93b4d16d 100644 --- a/influxdb_client/domain/patch_bucket_request.py +++ b/influxdb_client/domain/patch_bucket_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PatchBucketRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -119,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/patch_dashboard_request.py b/influxdb_client/domain/patch_dashboard_request.py index 56fdcf49..8405c3b0 100644 --- a/influxdb_client/domain/patch_dashboard_request.py +++ b/influxdb_client/domain/patch_dashboard_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PatchDashboardRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -123,7 +121,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/patch_organization_request.py b/influxdb_client/domain/patch_organization_request.py index 63576340..0ee93fbe 100644 --- a/influxdb_client/domain/patch_organization_request.py +++ b/influxdb_client/domain/patch_organization_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PatchOrganizationRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -100,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/patch_retention_rule.py b/influxdb_client/domain/patch_retention_rule.py index 0b0abf4d..49754105 100644 --- a/influxdb_client/domain/patch_retention_rule.py +++ b/influxdb_client/domain/patch_retention_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PatchRetentionRule(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -126,7 +124,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/patch_stack_request.py b/influxdb_client/domain/patch_stack_request.py index 5634f5ed..917cc315 100644 --- a/influxdb_client/domain/patch_stack_request.py +++ b/influxdb_client/domain/patch_stack_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PatchStackRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -135,7 +133,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/patch_stack_request_additional_resources.py b/influxdb_client/domain/patch_stack_request_additional_resources.py index e58ddaeb..6df857bb 100644 --- a/influxdb_client/domain/patch_stack_request_additional_resources.py +++ b/influxdb_client/domain/patch_stack_request_additional_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PatchStackRequestAdditionalResources(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -117,7 +115,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/permission.py b/influxdb_client/domain/permission.py index 70d5966e..4d25db70 100644 --- a/influxdb_client/domain/permission.py +++ b/influxdb_client/domain/permission.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Permission(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -94,7 +92,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/permission_resource.py b/influxdb_client/domain/permission_resource.py index a1e56e83..75363ae1 100644 --- a/influxdb_client/domain/permission_resource.py +++ b/influxdb_client/domain/permission_resource.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PermissionResource(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -178,7 +176,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/pipe_expression.py b/influxdb_client/domain/pipe_expression.py index a7ab92f6..3f984113 100644 --- a/influxdb_client/domain/pipe_expression.py +++ b/influxdb_client/domain/pipe_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -122,7 +121,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/pipe_literal.py b/influxdb_client/domain/pipe_literal.py index a7461ffd..eea02437 100644 --- a/influxdb_client/domain/pipe_literal.py +++ b/influxdb_client/domain/pipe_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -76,7 +75,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/post_bucket_request.py b/influxdb_client/domain/post_bucket_request.py index 3e2522cb..fe694434 100644 --- a/influxdb_client/domain/post_bucket_request.py +++ b/influxdb_client/domain/post_bucket_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PostBucketRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -191,7 +189,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/post_check.py b/influxdb_client/domain/post_check.py index 8323ae46..144a72e3 100644 --- a/influxdb_client/domain/post_check.py +++ b/influxdb_client/domain/post_check.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PostCheck(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -82,7 +80,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/post_notification_endpoint.py b/influxdb_client/domain/post_notification_endpoint.py index be1b67cf..d2d0b3c8 100644 --- a/influxdb_client/domain/post_notification_endpoint.py +++ b/influxdb_client/domain/post_notification_endpoint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PostNotificationEndpoint(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -83,7 +81,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/post_notification_rule.py b/influxdb_client/domain/post_notification_rule.py index ebc5f9f9..d0a54a0d 100644 --- a/influxdb_client/domain/post_notification_rule.py +++ b/influxdb_client/domain/post_notification_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PostNotificationRule(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -88,7 +86,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/post_organization_request.py b/influxdb_client/domain/post_organization_request.py index 1ed5dfaa..8e795da2 100644 --- a/influxdb_client/domain/post_organization_request.py +++ b/influxdb_client/domain/post_organization_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PostOrganizationRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -93,7 +91,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/post_restore_kv_response.py b/influxdb_client/domain/post_restore_kv_response.py index 87a2c42b..5cd5c166 100644 --- a/influxdb_client/domain/post_restore_kv_response.py +++ b/influxdb_client/domain/post_restore_kv_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PostRestoreKVResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -73,7 +71,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/post_stack_request.py b/influxdb_client/domain/post_stack_request.py index 126a7564..ce683035 100644 --- a/influxdb_client/domain/post_stack_request.py +++ b/influxdb_client/domain/post_stack_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class PostStackRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/property_key.py b/influxdb_client/domain/property_key.py index 9a4713b5..e072527b 100644 --- a/influxdb_client/domain/property_key.py +++ b/influxdb_client/domain/property_key.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -47,7 +46,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/query.py b/influxdb_client/domain/query.py index 66edc941..5dffaeb0 100644 --- a/influxdb_client/domain/query.py +++ b/influxdb_client/domain/query.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Query(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -201,7 +199,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/query_edit_mode.py b/influxdb_client/domain/query_edit_mode.py index f91dafb0..8a7fba8b 100644 --- a/influxdb_client/domain/query_edit_mode.py +++ b/influxdb_client/domain/query_edit_mode.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class QueryEditMode(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -50,7 +48,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/query_variable_properties.py b/influxdb_client/domain/query_variable_properties.py index 96a70742..143bb01e 100644 --- a/influxdb_client/domain/query_variable_properties.py +++ b/influxdb_client/domain/query_variable_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.variable_properties import VariableProperties @@ -95,7 +94,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/query_variable_properties_values.py b/influxdb_client/domain/query_variable_properties_values.py index 1425f10a..a06a174e 100644 --- a/influxdb_client/domain/query_variable_properties_values.py +++ b/influxdb_client/domain/query_variable_properties_values.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class QueryVariablePropertiesValues(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/range_threshold.py b/influxdb_client/domain/range_threshold.py index 59cec625..68e19860 100644 --- a/influxdb_client/domain/range_threshold.py +++ b/influxdb_client/domain/range_threshold.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.threshold_base import ThresholdBase @@ -149,7 +148,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/ready.py b/influxdb_client/domain/ready.py index ca2dba55..46c4d29b 100644 --- a/influxdb_client/domain/ready.py +++ b/influxdb_client/domain/ready.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Ready(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/regexp_literal.py b/influxdb_client/domain/regexp_literal.py index 9d66a67a..95fe4cb1 100644 --- a/influxdb_client/domain/regexp_literal.py +++ b/influxdb_client/domain/regexp_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/remote_connection.py b/influxdb_client/domain/remote_connection.py index 16171897..b9ad0fd1 100644 --- a/influxdb_client/domain/remote_connection.py +++ b/influxdb_client/domain/remote_connection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RemoteConnection(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -213,7 +211,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/remote_connection_creation_request.py b/influxdb_client/domain/remote_connection_creation_request.py index dd5c11ae..c0173369 100644 --- a/influxdb_client/domain/remote_connection_creation_request.py +++ b/influxdb_client/domain/remote_connection_creation_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RemoteConnectionCreationRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -213,7 +211,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/remote_connection_update_request.py b/influxdb_client/domain/remote_connection_update_request.py index 01850813..54fd9f1c 100644 --- a/influxdb_client/domain/remote_connection_update_request.py +++ b/influxdb_client/domain/remote_connection_update_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RemoteConnectionUpdateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/remote_connections.py b/influxdb_client/domain/remote_connections.py index 9f9276f5..ca6d30ce 100644 --- a/influxdb_client/domain/remote_connections.py +++ b/influxdb_client/domain/remote_connections.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RemoteConnections(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/renamable_field.py b/influxdb_client/domain/renamable_field.py index 7b77df82..088cea3d 100644 --- a/influxdb_client/domain/renamable_field.py +++ b/influxdb_client/domain/renamable_field.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RenamableField(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -127,7 +125,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/replication.py b/influxdb_client/domain/replication.py index e5d678ac..8fe46eb7 100644 --- a/influxdb_client/domain/replication.py +++ b/influxdb_client/domain/replication.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Replication(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -330,7 +328,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/replication_creation_request.py b/influxdb_client/domain/replication_creation_request.py index 9edadfe1..000486d5 100644 --- a/influxdb_client/domain/replication_creation_request.py +++ b/influxdb_client/domain/replication_creation_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ReplicationCreationRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -238,7 +236,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/replication_update_request.py b/influxdb_client/domain/replication_update_request.py index e8a075cc..801b76ca 100644 --- a/influxdb_client/domain/replication_update_request.py +++ b/influxdb_client/domain/replication_update_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ReplicationUpdateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -186,7 +184,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/replications.py b/influxdb_client/domain/replications.py index 60ea47bc..d81cd453 100644 --- a/influxdb_client/domain/replications.py +++ b/influxdb_client/domain/replications.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Replications(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/resource_member.py b/influxdb_client/domain/resource_member.py index cfdca24f..d83ea8b3 100644 --- a/influxdb_client/domain/resource_member.py +++ b/influxdb_client/domain/resource_member.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.user_response import UserResponse @@ -82,7 +81,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/resource_members.py b/influxdb_client/domain/resource_members.py index 87e0582a..5fde29a9 100644 --- a/influxdb_client/domain/resource_members.py +++ b/influxdb_client/domain/resource_members.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ResourceMembers(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/resource_members_links.py b/influxdb_client/domain/resource_members_links.py index 2585c8e7..26820bb5 100644 --- a/influxdb_client/domain/resource_members_links.py +++ b/influxdb_client/domain/resource_members_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ResourceMembersLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/resource_owner.py b/influxdb_client/domain/resource_owner.py index 7aee0a7c..4e4886b8 100644 --- a/influxdb_client/domain/resource_owner.py +++ b/influxdb_client/domain/resource_owner.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.user_response import UserResponse @@ -82,7 +81,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/resource_owners.py b/influxdb_client/domain/resource_owners.py index af42a049..84a85ff6 100644 --- a/influxdb_client/domain/resource_owners.py +++ b/influxdb_client/domain/resource_owners.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ResourceOwners(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/restored_bucket_mappings.py b/influxdb_client/domain/restored_bucket_mappings.py index 425a1e44..2059cbc8 100644 --- a/influxdb_client/domain/restored_bucket_mappings.py +++ b/influxdb_client/domain/restored_bucket_mappings.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RestoredBucketMappings(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -122,7 +120,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/retention_policy_manifest.py b/influxdb_client/domain/retention_policy_manifest.py index 49009aa6..a0b314c8 100644 --- a/influxdb_client/domain/retention_policy_manifest.py +++ b/influxdb_client/domain/retention_policy_manifest.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RetentionPolicyManifest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -190,7 +188,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/return_statement.py b/influxdb_client/domain/return_statement.py index de98a07f..aa4b48d9 100644 --- a/influxdb_client/domain/return_statement.py +++ b/influxdb_client/domain/return_statement.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/routes.py b/influxdb_client/domain/routes.py index 4c5f04c3..2a7a77e6 100644 --- a/influxdb_client/domain/routes.py +++ b/influxdb_client/domain/routes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Routes(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -460,7 +458,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/routes_external.py b/influxdb_client/domain/routes_external.py index 2b0ceb72..87c49f98 100644 --- a/influxdb_client/domain/routes_external.py +++ b/influxdb_client/domain/routes_external.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RoutesExternal(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/routes_query.py b/influxdb_client/domain/routes_query.py index 32b1ea35..82ae34e1 100644 --- a/influxdb_client/domain/routes_query.py +++ b/influxdb_client/domain/routes_query.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RoutesQuery(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/routes_system.py b/influxdb_client/domain/routes_system.py index 42aca1d6..73ac677b 100644 --- a/influxdb_client/domain/routes_system.py +++ b/influxdb_client/domain/routes_system.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RoutesSystem(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/rule_status_level.py b/influxdb_client/domain/rule_status_level.py index 7ad6decc..9d9f4249 100644 --- a/influxdb_client/domain/rule_status_level.py +++ b/influxdb_client/domain/rule_status_level.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RuleStatusLevel(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -54,7 +52,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/run.py b/influxdb_client/domain/run.py index 65164b36..7bc89597 100644 --- a/influxdb_client/domain/run.py +++ b/influxdb_client/domain/run.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Run(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -273,7 +271,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/run_links.py b/influxdb_client/domain/run_links.py index 1faa3dd0..08c0533f 100644 --- a/influxdb_client/domain/run_links.py +++ b/influxdb_client/domain/run_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RunLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/run_manually.py b/influxdb_client/domain/run_manually.py index 3deaf3f4..55b6a219 100644 --- a/influxdb_client/domain/run_manually.py +++ b/influxdb_client/domain/run_manually.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class RunManually(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -72,7 +70,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/runs.py b/influxdb_client/domain/runs.py index a6b24f17..5f926301 100644 --- a/influxdb_client/domain/runs.py +++ b/influxdb_client/domain/runs.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Runs(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/scatter_view_properties.py b/influxdb_client/domain/scatter_view_properties.py index 75c6a50c..38b076f5 100644 --- a/influxdb_client/domain/scatter_view_properties.py +++ b/influxdb_client/domain/scatter_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -788,7 +787,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/schema_type.py b/influxdb_client/domain/schema_type.py index eac4cc5f..c8612b55 100644 --- a/influxdb_client/domain/schema_type.py +++ b/influxdb_client/domain/schema_type.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class SchemaType(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -50,7 +48,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/scraper_target_request.py b/influxdb_client/domain/scraper_target_request.py index 167d934a..ae960678 100644 --- a/influxdb_client/domain/scraper_target_request.py +++ b/influxdb_client/domain/scraper_target_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ScraperTargetRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -208,7 +206,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/scraper_target_response.py b/influxdb_client/domain/scraper_target_response.py index 20b7f732..8f40ae0d 100644 --- a/influxdb_client/domain/scraper_target_response.py +++ b/influxdb_client/domain/scraper_target_response.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.scraper_target_request import ScraperTargetRequest @@ -161,7 +160,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/scraper_target_responses.py b/influxdb_client/domain/scraper_target_responses.py index b10ebf70..7e4e477e 100644 --- a/influxdb_client/domain/scraper_target_responses.py +++ b/influxdb_client/domain/scraper_target_responses.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ScraperTargetResponses(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/script.py b/influxdb_client/domain/script.py index 9c6bb8fc..b1b0bc96 100644 --- a/influxdb_client/domain/script.py +++ b/influxdb_client/domain/script.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Script(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -264,7 +262,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/script_create_request.py b/influxdb_client/domain/script_create_request.py index 5dca0b0b..2438d5ce 100644 --- a/influxdb_client/domain/script_create_request.py +++ b/influxdb_client/domain/script_create_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ScriptCreateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -150,7 +148,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/script_invocation_params.py b/influxdb_client/domain/script_invocation_params.py index f4902599..0c6c9ac6 100644 --- a/influxdb_client/domain/script_invocation_params.py +++ b/influxdb_client/domain/script_invocation_params.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ScriptInvocationParams(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -32,7 +30,7 @@ class ScriptInvocationParams(object): and the value is json key in definition. """ openapi_types = { - 'params': 'object' + 'params': 'dict(str, object)' } attribute_map = { @@ -52,7 +50,7 @@ def params(self): """Get the params of this ScriptInvocationParams. :return: The params of this ScriptInvocationParams. - :rtype: object + :rtype: dict(str, object) """ # noqa: E501 return self._params @@ -61,7 +59,7 @@ def params(self, params): """Set the params of this ScriptInvocationParams. :param params: The params of this ScriptInvocationParams. - :type: object + :type: dict(str, object) """ # noqa: E501 self._params = params @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/script_language.py b/influxdb_client/domain/script_language.py index df0de26f..886b2b48 100644 --- a/influxdb_client/domain/script_language.py +++ b/influxdb_client/domain/script_language.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ScriptLanguage(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -49,7 +47,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/script_update_request.py b/influxdb_client/domain/script_update_request.py index 105fe8df..388e61ef 100644 --- a/influxdb_client/domain/script_update_request.py +++ b/influxdb_client/domain/script_update_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ScriptUpdateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -119,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/scripts.py b/influxdb_client/domain/scripts.py index 4cde3981..03ca492b 100644 --- a/influxdb_client/domain/scripts.py +++ b/influxdb_client/domain/scripts.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Scripts(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/secret_keys.py b/influxdb_client/domain/secret_keys.py index 78f082e4..b935a61f 100644 --- a/influxdb_client/domain/secret_keys.py +++ b/influxdb_client/domain/secret_keys.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class SecretKeys(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/secret_keys_response.py b/influxdb_client/domain/secret_keys_response.py index 44d3bb0b..c9686cf3 100644 --- a/influxdb_client/domain/secret_keys_response.py +++ b/influxdb_client/domain/secret_keys_response.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.secret_keys import SecretKeys @@ -74,7 +73,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/shard_group_manifest.py b/influxdb_client/domain/shard_group_manifest.py index 32c8eeed..cd644444 100644 --- a/influxdb_client/domain/shard_group_manifest.py +++ b/influxdb_client/domain/shard_group_manifest.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ShardGroupManifest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -188,7 +186,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/shard_manifest.py b/influxdb_client/domain/shard_manifest.py index d5b45f72..1d183465 100644 --- a/influxdb_client/domain/shard_manifest.py +++ b/influxdb_client/domain/shard_manifest.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ShardManifest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -94,7 +92,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/shard_owner.py b/influxdb_client/domain/shard_owner.py index aef649e9..423e02a6 100644 --- a/influxdb_client/domain/shard_owner.py +++ b/influxdb_client/domain/shard_owner.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ShardOwner(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -74,7 +72,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/simple_table_view_properties.py b/influxdb_client/domain/simple_table_view_properties.py index c246c600..670be209 100644 --- a/influxdb_client/domain/simple_table_view_properties.py +++ b/influxdb_client/domain/simple_table_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -197,7 +196,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/single_stat_view_properties.py b/influxdb_client/domain/single_stat_view_properties.py index efae2928..cc46240f 100644 --- a/influxdb_client/domain/single_stat_view_properties.py +++ b/influxdb_client/domain/single_stat_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -344,7 +343,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/slack_notification_endpoint.py b/influxdb_client/domain/slack_notification_endpoint.py index 7c048e41..d619a4c8 100644 --- a/influxdb_client/domain/slack_notification_endpoint.py +++ b/influxdb_client/domain/slack_notification_endpoint.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_endpoint_discriminator import NotificationEndpointDiscriminator @@ -125,7 +124,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/slack_notification_rule.py b/influxdb_client/domain/slack_notification_rule.py index fc4738a7..c7cd5b29 100644 --- a/influxdb_client/domain/slack_notification_rule.py +++ b/influxdb_client/domain/slack_notification_rule.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.slack_notification_rule_base import SlackNotificationRuleBase @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/slack_notification_rule_base.py b/influxdb_client/domain/slack_notification_rule_base.py index 1c39e116..923a5dfe 100644 --- a/influxdb_client/domain/slack_notification_rule_base.py +++ b/influxdb_client/domain/slack_notification_rule_base.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_rule_discriminator import NotificationRuleDiscriminator @@ -166,7 +165,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/smtp_notification_rule.py b/influxdb_client/domain/smtp_notification_rule.py index 627286f1..d9107327 100644 --- a/influxdb_client/domain/smtp_notification_rule.py +++ b/influxdb_client/domain/smtp_notification_rule.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.smtp_notification_rule_base import SMTPNotificationRuleBase @@ -101,7 +100,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/smtp_notification_rule_base.py b/influxdb_client/domain/smtp_notification_rule_base.py index 3d27c80d..18cbae11 100644 --- a/influxdb_client/domain/smtp_notification_rule_base.py +++ b/influxdb_client/domain/smtp_notification_rule_base.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_rule_discriminator import NotificationRuleDiscriminator @@ -190,7 +189,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/source.py b/influxdb_client/domain/source.py index aa2130ab..c45cb12a 100644 --- a/influxdb_client/domain/source.py +++ b/influxdb_client/domain/source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Source(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -421,7 +419,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/source_links.py b/influxdb_client/domain/source_links.py index ffa3f608..baffe913 100644 --- a/influxdb_client/domain/source_links.py +++ b/influxdb_client/domain/source_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class SourceLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/sources.py b/influxdb_client/domain/sources.py index 5bf54f63..c368f13d 100644 --- a/influxdb_client/domain/sources.py +++ b/influxdb_client/domain/sources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Sources(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/stack.py b/influxdb_client/domain/stack.py index 62caaa60..cdae5a35 100644 --- a/influxdb_client/domain/stack.py +++ b/influxdb_client/domain/stack.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Stack(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/stack_associations.py b/influxdb_client/domain/stack_associations.py index 5c9d6d5c..7e3191b3 100644 --- a/influxdb_client/domain/stack_associations.py +++ b/influxdb_client/domain/stack_associations.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class StackAssociations(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/stack_events.py b/influxdb_client/domain/stack_events.py index c5c9e48f..854a3ab4 100644 --- a/influxdb_client/domain/stack_events.py +++ b/influxdb_client/domain/stack_events.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class StackEvents(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -207,7 +205,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/stack_links.py b/influxdb_client/domain/stack_links.py index ff035182..f3c73354 100644 --- a/influxdb_client/domain/stack_links.py +++ b/influxdb_client/domain/stack_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class StackLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/stack_resources.py b/influxdb_client/domain/stack_resources.py index 4a328864..3cd5f989 100644 --- a/influxdb_client/domain/stack_resources.py +++ b/influxdb_client/domain/stack_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class StackResources(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/statement.py b/influxdb_client/domain/statement.py index 64373bf1..bb19fc35 100644 --- a/influxdb_client/domain/statement.py +++ b/influxdb_client/domain/statement.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Statement(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -44,7 +42,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/static_legend.py b/influxdb_client/domain/static_legend.py index ce57e78b..cff69439 100644 --- a/influxdb_client/domain/static_legend.py +++ b/influxdb_client/domain/static_legend.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class StaticLegend(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -207,7 +205,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/status_rule.py b/influxdb_client/domain/status_rule.py index 885dd88e..bac05845 100644 --- a/influxdb_client/domain/status_rule.py +++ b/influxdb_client/domain/status_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class StatusRule(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/string_literal.py b/influxdb_client/domain/string_literal.py index 7e87d39c..643ca425 100644 --- a/influxdb_client/domain/string_literal.py +++ b/influxdb_client/domain/string_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.property_key import PropertyKey @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/subscription_manifest.py b/influxdb_client/domain/subscription_manifest.py index bedf78dc..7366561e 100644 --- a/influxdb_client/domain/subscription_manifest.py +++ b/influxdb_client/domain/subscription_manifest.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class SubscriptionManifest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -118,7 +116,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/table_view_properties.py b/influxdb_client/domain/table_view_properties.py index 6f449e19..bd8ec0d9 100644 --- a/influxdb_client/domain/table_view_properties.py +++ b/influxdb_client/domain/table_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -305,7 +304,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/table_view_properties_table_options.py b/influxdb_client/domain/table_view_properties_table_options.py index 9256db55..71193ca9 100644 --- a/influxdb_client/domain/table_view_properties_table_options.py +++ b/influxdb_client/domain/table_view_properties_table_options.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TableViewPropertiesTableOptions(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -150,7 +148,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/tag_rule.py b/influxdb_client/domain/tag_rule.py index 4a627a10..9683856d 100644 --- a/influxdb_client/domain/tag_rule.py +++ b/influxdb_client/domain/tag_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TagRule(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/task.py b/influxdb_client/domain/task.py index 9ea46d4e..56b88467 100644 --- a/influxdb_client/domain/task.py +++ b/influxdb_client/domain/task.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Task(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -162,7 +160,7 @@ def id(self, id): def type(self): """Get the type of this Task. - Type of the task, useful for filtering a task list. + The type of the task, useful for filtering a task list. :return: The type of this Task. :rtype: str @@ -173,7 +171,7 @@ def type(self): def type(self, type): """Set the type of this Task. - Type of the task, useful for filtering a task list. + The type of the task, useful for filtering a task list. :param type: The type of this Task. :type: str @@ -184,7 +182,7 @@ def type(self, type): def org_id(self): """Get the org_id of this Task. - ID of the organization that owns the task. + The ID of the organization that owns the task. :return: The org_id of this Task. :rtype: str @@ -195,7 +193,7 @@ def org_id(self): def org_id(self, org_id): """Set the org_id of this Task. - ID of the organization that owns the task. + The ID of the organization that owns the task. :param org_id: The org_id of this Task. :type: str @@ -208,7 +206,7 @@ def org_id(self, org_id): def org(self): """Get the org of this Task. - Name of the organization that owns the task. + The name of the organization that owns the task. :return: The org of this Task. :rtype: str @@ -219,7 +217,7 @@ def org(self): def org(self, org): """Set the org of this Task. - Name of the organization that owns the task. + The name of the organization that owns the task. :param org: The org of this Task. :type: str @@ -230,7 +228,7 @@ def org(self, org): def name(self): """Get the name of this Task. - Name of the task. + The name of the task. :return: The name of this Task. :rtype: str @@ -241,7 +239,7 @@ def name(self): def name(self, name): """Set the name of this Task. - Name of the task. + The name of the task. :param name: The name of this Task. :type: str @@ -254,7 +252,7 @@ def name(self, name): def owner_id(self): """Get the owner_id of this Task. - ID of the user who owns this Task. + The ID of the user who owns this Task. :return: The owner_id of this Task. :rtype: str @@ -265,7 +263,7 @@ def owner_id(self): def owner_id(self, owner_id): """Set the owner_id of this Task. - ID of the user who owns this Task. + The ID of the user who owns this Task. :param owner_id: The owner_id of this Task. :type: str @@ -276,7 +274,7 @@ def owner_id(self, owner_id): def description(self): """Get the description of this Task. - Description of the task. + The description of the task. :return: The description of this Task. :rtype: str @@ -287,7 +285,7 @@ def description(self): def description(self, description): """Set the description of this Task. - Description of the task. + The description of the task. :param description: The description of this Task. :type: str @@ -334,7 +332,7 @@ def labels(self, labels): def authorization_id(self): """Get the authorization_id of this Task. - ID of the authorization used when the task communicates with the query engine. + The ID of the authorization used when the task communicates with the query engine. :return: The authorization_id of this Task. :rtype: str @@ -345,7 +343,7 @@ def authorization_id(self): def authorization_id(self, authorization_id): """Set the authorization_id of this Task. - ID of the authorization used when the task communicates with the query engine. + The ID of the authorization used when the task communicates with the query engine. :param authorization_id: The authorization_id of this Task. :type: str @@ -356,7 +354,7 @@ def authorization_id(self, authorization_id): def flux(self): """Get the flux of this Task. - Flux script to run for this task. + The Flux script to run for this task. :return: The flux of this Task. :rtype: str @@ -367,7 +365,7 @@ def flux(self): def flux(self, flux): """Set the flux of this Task. - Flux script to run for this task. + The Flux script to run for this task. :param flux: The flux of this Task. :type: str @@ -380,7 +378,7 @@ def flux(self, flux): def every(self): """Get the every of this Task. - Interval at which the task runs. `every` also determines when the task first runs, depending on the specified time. Value is a [duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals)). + An interval ([duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals))) at which the task runs. `every` also determines when the task first runs, depending on the specified time. :return: The every of this Task. :rtype: str @@ -391,7 +389,7 @@ def every(self): def every(self, every): """Set the every of this Task. - Interval at which the task runs. `every` also determines when the task first runs, depending on the specified time. Value is a [duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals)). + An interval ([duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals))) at which the task runs. `every` also determines when the task first runs, depending on the specified time. :param every: The every of this Task. :type: str @@ -402,7 +400,7 @@ def every(self, every): def cron(self): """Get the cron of this Task. - [Cron expression](https://en.wikipedia.org/wiki/Cron#Overview) that defines the schedule on which the task runs. Cron scheduling is based on system time. Value is a [Cron expression](https://en.wikipedia.org/wiki/Cron#Overview). + [Cron expression](https://en.wikipedia.org/wiki/Cron#Overview) that defines the schedule on which the task runs. InfluxDB bases cron runs on the system time. :return: The cron of this Task. :rtype: str @@ -413,7 +411,7 @@ def cron(self): def cron(self, cron): """Set the cron of this Task. - [Cron expression](https://en.wikipedia.org/wiki/Cron#Overview) that defines the schedule on which the task runs. Cron scheduling is based on system time. Value is a [Cron expression](https://en.wikipedia.org/wiki/Cron#Overview). + [Cron expression](https://en.wikipedia.org/wiki/Cron#Overview) that defines the schedule on which the task runs. InfluxDB bases cron runs on the system time. :param cron: The cron of this Task. :type: str @@ -424,7 +422,7 @@ def cron(self, cron): def offset(self): """Get the offset of this Task. - [Duration](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals) to delay execution of the task after the scheduled time has elapsed. `0` removes the offset. The value is a [duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals). + A [duration](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals) to delay execution of the task after the scheduled time has elapsed. `0` removes the offset. :return: The offset of this Task. :rtype: str @@ -435,7 +433,7 @@ def offset(self): def offset(self, offset): """Set the offset of this Task. - [Duration](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals) to delay execution of the task after the scheduled time has elapsed. `0` removes the offset. The value is a [duration literal](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals). + A [duration](https://docs.influxdata.com/flux/v0.x/spec/lexical-elements/#duration-literals) to delay execution of the task after the scheduled time has elapsed. `0` removes the offset. :param offset: The offset of this Task. :type: str @@ -446,7 +444,7 @@ def offset(self, offset): def latest_completed(self): """Get the latest_completed of this Task. - Timestamp of the latest scheduled and completed run. Value is a timestamp in [RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax). + A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)) of the latest scheduled and completed run. :return: The latest_completed of this Task. :rtype: datetime @@ -457,7 +455,7 @@ def latest_completed(self): def latest_completed(self, latest_completed): """Set the latest_completed of this Task. - Timestamp of the latest scheduled and completed run. Value is a timestamp in [RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax). + A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/flux/v0.x/data-types/basic/time/#time-syntax)) of the latest scheduled and completed run. :param latest_completed: The latest_completed of this Task. :type: datetime @@ -558,7 +556,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/task_create_request.py b/influxdb_client/domain/task_create_request.py index e6a9692f..462c008f 100644 --- a/influxdb_client/domain/task_create_request.py +++ b/influxdb_client/domain/task_create_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TaskCreateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -178,7 +176,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/task_links.py b/influxdb_client/domain/task_links.py index fee0227f..86465f09 100644 --- a/influxdb_client/domain/task_links.py +++ b/influxdb_client/domain/task_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TaskLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -208,7 +206,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/task_status_type.py b/influxdb_client/domain/task_status_type.py index 558145a6..c775c39c 100644 --- a/influxdb_client/domain/task_status_type.py +++ b/influxdb_client/domain/task_status_type.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TaskStatusType(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -50,7 +48,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/task_update_request.py b/influxdb_client/domain/task_update_request.py index 253c93f8..3745b3b3 100644 --- a/influxdb_client/domain/task_update_request.py +++ b/influxdb_client/domain/task_update_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TaskUpdateRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -231,7 +229,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/tasks.py b/influxdb_client/domain/tasks.py index b0c6efed..4174b04e 100644 --- a/influxdb_client/domain/tasks.py +++ b/influxdb_client/domain/tasks.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Tasks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegraf.py b/influxdb_client/domain/telegraf.py index 55dc5d13..05e2a412 100644 --- a/influxdb_client/domain/telegraf.py +++ b/influxdb_client/domain/telegraf.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.telegraf_request import TelegrafRequest @@ -128,7 +127,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegraf_plugin.py b/influxdb_client/domain/telegraf_plugin.py index 23f35825..a01c2ef7 100644 --- a/influxdb_client/domain/telegraf_plugin.py +++ b/influxdb_client/domain/telegraf_plugin.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TelegrafPlugin(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegraf_plugin_request.py b/influxdb_client/domain/telegraf_plugin_request.py index 13a44bee..79287c33 100644 --- a/influxdb_client/domain/telegraf_plugin_request.py +++ b/influxdb_client/domain/telegraf_plugin_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TelegrafPluginRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegraf_plugin_request_plugins.py b/influxdb_client/domain/telegraf_plugin_request_plugins.py index 5d9b7b35..1ccf0dbf 100644 --- a/influxdb_client/domain/telegraf_plugin_request_plugins.py +++ b/influxdb_client/domain/telegraf_plugin_request_plugins.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TelegrafPluginRequestPlugins(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -161,7 +159,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegraf_plugins.py b/influxdb_client/domain/telegraf_plugins.py index 07478132..80a1842e 100644 --- a/influxdb_client/domain/telegraf_plugins.py +++ b/influxdb_client/domain/telegraf_plugins.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TelegrafPlugins(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegraf_request.py b/influxdb_client/domain/telegraf_request.py index 2e14f41a..898deb88 100644 --- a/influxdb_client/domain/telegraf_request.py +++ b/influxdb_client/domain/telegraf_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TelegrafRequest(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -161,7 +159,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegraf_request_metadata.py b/influxdb_client/domain/telegraf_request_metadata.py index 43ed4245..e7a9f813 100644 --- a/influxdb_client/domain/telegraf_request_metadata.py +++ b/influxdb_client/domain/telegraf_request_metadata.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TelegrafRequestMetadata(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegrafs.py b/influxdb_client/domain/telegrafs.py index df41034d..17d7760e 100644 --- a/influxdb_client/domain/telegrafs.py +++ b/influxdb_client/domain/telegrafs.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Telegrafs(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegram_notification_endpoint.py b/influxdb_client/domain/telegram_notification_endpoint.py index 54508533..86d44aff 100644 --- a/influxdb_client/domain/telegram_notification_endpoint.py +++ b/influxdb_client/domain/telegram_notification_endpoint.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_endpoint_discriminator import NotificationEndpointDiscriminator @@ -127,7 +126,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegram_notification_rule.py b/influxdb_client/domain/telegram_notification_rule.py index 649149b7..2238909c 100644 --- a/influxdb_client/domain/telegram_notification_rule.py +++ b/influxdb_client/domain/telegram_notification_rule.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.telegram_notification_rule_base import TelegramNotificationRuleBase @@ -101,7 +100,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/telegram_notification_rule_base.py b/influxdb_client/domain/telegram_notification_rule_base.py index 0c5b496a..48b7ba47 100644 --- a/influxdb_client/domain/telegram_notification_rule_base.py +++ b/influxdb_client/domain/telegram_notification_rule_base.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.notification_rule_discriminator import NotificationRuleDiscriminator @@ -205,7 +204,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_apply.py b/influxdb_client/domain/template_apply.py index 334ff440..45199517 100644 --- a/influxdb_client/domain/template_apply.py +++ b/influxdb_client/domain/template_apply.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateApply(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -253,7 +251,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_apply_remotes.py b/influxdb_client/domain/template_apply_remotes.py index 000aec72..bdb835bc 100644 --- a/influxdb_client/domain/template_apply_remotes.py +++ b/influxdb_client/domain/template_apply_remotes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateApplyRemotes(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -93,7 +91,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_apply_template.py b/influxdb_client/domain/template_apply_template.py index 23dd5091..0fee8e97 100644 --- a/influxdb_client/domain/template_apply_template.py +++ b/influxdb_client/domain/template_apply_template.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateApplyTemplate(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_chart.py b/influxdb_client/domain/template_chart.py index ee6e3466..7ae7b357 100644 --- a/influxdb_client/domain/template_chart.py +++ b/influxdb_client/domain/template_chart.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateChart(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -161,7 +159,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_export_by_id.py b/influxdb_client/domain/template_export_by_id.py index 4309e47c..7b5f2123 100644 --- a/influxdb_client/domain/template_export_by_id.py +++ b/influxdb_client/domain/template_export_by_id.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateExportByID(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_export_by_id_org_ids.py b/influxdb_client/domain/template_export_by_id_org_ids.py index 9e1a35c4..f29886e5 100644 --- a/influxdb_client/domain/template_export_by_id_org_ids.py +++ b/influxdb_client/domain/template_export_by_id_org_ids.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateExportByIDOrgIDs(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_export_by_id_resource_filters.py b/influxdb_client/domain/template_export_by_id_resource_filters.py index 1d5c4f01..33cd9f76 100644 --- a/influxdb_client/domain/template_export_by_id_resource_filters.py +++ b/influxdb_client/domain/template_export_by_id_resource_filters.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateExportByIDResourceFilters(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_export_by_id_resources.py b/influxdb_client/domain/template_export_by_id_resources.py index c53760fd..ddbc0b42 100644 --- a/influxdb_client/domain/template_export_by_id_resources.py +++ b/influxdb_client/domain/template_export_by_id_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateExportByIDResources(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -121,7 +119,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_export_by_name.py b/influxdb_client/domain/template_export_by_name.py index 740c796a..aa096dea 100644 --- a/influxdb_client/domain/template_export_by_name.py +++ b/influxdb_client/domain/template_export_by_name.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateExportByName(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_export_by_name_resources.py b/influxdb_client/domain/template_export_by_name_resources.py index 058fafbb..35e955b3 100644 --- a/influxdb_client/domain/template_export_by_name_resources.py +++ b/influxdb_client/domain/template_export_by_name_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateExportByNameResources(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -94,7 +92,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_kind.py b/influxdb_client/domain/template_kind.py index 2f9d8b72..256408a5 100644 --- a/influxdb_client/domain/template_kind.py +++ b/influxdb_client/domain/template_kind.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateKind(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -62,7 +60,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary.py b/influxdb_client/domain/template_summary.py index fd328152..bdb2e20a 100644 --- a/influxdb_client/domain/template_summary.py +++ b/influxdb_client/domain/template_summary.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummary(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -161,7 +159,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff.py b/influxdb_client/domain/template_summary_diff.py index 97207f3b..468fd4f8 100644 --- a/influxdb_client/domain/template_summary_diff.py +++ b/influxdb_client/domain/template_summary_diff.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiff(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -276,7 +274,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_buckets.py b/influxdb_client/domain/template_summary_diff_buckets.py index 0a58e299..48e1c046 100644 --- a/influxdb_client/domain/template_summary_diff_buckets.py +++ b/influxdb_client/domain/template_summary_diff_buckets.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffBuckets(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_buckets_new_old.py b/influxdb_client/domain/template_summary_diff_buckets_new_old.py index 62ad7ef7..64fa8f7f 100644 --- a/influxdb_client/domain/template_summary_diff_buckets_new_old.py +++ b/influxdb_client/domain/template_summary_diff_buckets_new_old.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffBucketsNewOld(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -119,7 +117,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_checks.py b/influxdb_client/domain/template_summary_diff_checks.py index adba9ca3..3617fa36 100644 --- a/influxdb_client/domain/template_summary_diff_checks.py +++ b/influxdb_client/domain/template_summary_diff_checks.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffChecks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_dashboards.py b/influxdb_client/domain/template_summary_diff_dashboards.py index 282e09e6..748b2a09 100644 --- a/influxdb_client/domain/template_summary_diff_dashboards.py +++ b/influxdb_client/domain/template_summary_diff_dashboards.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffDashboards(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_dashboards_new_old.py b/influxdb_client/domain/template_summary_diff_dashboards_new_old.py index 5042c556..a2b727d4 100644 --- a/influxdb_client/domain/template_summary_diff_dashboards_new_old.py +++ b/influxdb_client/domain/template_summary_diff_dashboards_new_old.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffDashboardsNewOld(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_label_mappings.py b/influxdb_client/domain/template_summary_diff_label_mappings.py index 535f095e..2abb3dd7 100644 --- a/influxdb_client/domain/template_summary_diff_label_mappings.py +++ b/influxdb_client/domain/template_summary_diff_label_mappings.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffLabelMappings(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -230,7 +228,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_labels.py b/influxdb_client/domain/template_summary_diff_labels.py index 74ee4740..ab6b9c06 100644 --- a/influxdb_client/domain/template_summary_diff_labels.py +++ b/influxdb_client/domain/template_summary_diff_labels.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffLabels(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_labels_new_old.py b/influxdb_client/domain/template_summary_diff_labels_new_old.py index 34bfc4ae..27e7bdd1 100644 --- a/influxdb_client/domain/template_summary_diff_labels_new_old.py +++ b/influxdb_client/domain/template_summary_diff_labels_new_old.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffLabelsNewOld(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_notification_endpoints.py b/influxdb_client/domain/template_summary_diff_notification_endpoints.py index 7d742f45..47dc4caf 100644 --- a/influxdb_client/domain/template_summary_diff_notification_endpoints.py +++ b/influxdb_client/domain/template_summary_diff_notification_endpoints.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffNotificationEndpoints(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_notification_rules.py b/influxdb_client/domain/template_summary_diff_notification_rules.py index 72402be0..cc4ab1ea 100644 --- a/influxdb_client/domain/template_summary_diff_notification_rules.py +++ b/influxdb_client/domain/template_summary_diff_notification_rules.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffNotificationRules(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_notification_rules_new_old.py b/influxdb_client/domain/template_summary_diff_notification_rules_new_old.py index 787526f0..b769118f 100644 --- a/influxdb_client/domain/template_summary_diff_notification_rules_new_old.py +++ b/influxdb_client/domain/template_summary_diff_notification_rules_new_old.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffNotificationRulesNewOld(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -299,7 +297,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_tasks.py b/influxdb_client/domain/template_summary_diff_tasks.py index 0fa84412..8dca893c 100644 --- a/influxdb_client/domain/template_summary_diff_tasks.py +++ b/influxdb_client/domain/template_summary_diff_tasks.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffTasks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_tasks_new_old.py b/influxdb_client/domain/template_summary_diff_tasks_new_old.py index ec6dcfff..57a83e8a 100644 --- a/influxdb_client/domain/template_summary_diff_tasks_new_old.py +++ b/influxdb_client/domain/template_summary_diff_tasks_new_old.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffTasksNewOld(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -207,7 +205,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_telegraf_configs.py b/influxdb_client/domain/template_summary_diff_telegraf_configs.py index f08828dc..2aa8ef86 100644 --- a/influxdb_client/domain/template_summary_diff_telegraf_configs.py +++ b/influxdb_client/domain/template_summary_diff_telegraf_configs.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffTelegrafConfigs(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_variables.py b/influxdb_client/domain/template_summary_diff_variables.py index 6ceace15..3d4712eb 100644 --- a/influxdb_client/domain/template_summary_diff_variables.py +++ b/influxdb_client/domain/template_summary_diff_variables.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffVariables(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -184,7 +182,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_diff_variables_new_old.py b/influxdb_client/domain/template_summary_diff_variables_new_old.py index 8b536ac9..1537e5da 100644 --- a/influxdb_client/domain/template_summary_diff_variables_new_old.py +++ b/influxdb_client/domain/template_summary_diff_variables_new_old.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryDiffVariablesNewOld(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_errors.py b/influxdb_client/domain/template_summary_errors.py index aa6f572d..3d41ef4e 100644 --- a/influxdb_client/domain/template_summary_errors.py +++ b/influxdb_client/domain/template_summary_errors.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryErrors(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -138,7 +136,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_label.py b/influxdb_client/domain/template_summary_label.py index fad3cdb0..727260ad 100644 --- a/influxdb_client/domain/template_summary_label.py +++ b/influxdb_client/domain/template_summary_label.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryLabel(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -207,7 +205,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_label_properties.py b/influxdb_client/domain/template_summary_label_properties.py index 5f125296..82bab1e7 100644 --- a/influxdb_client/domain/template_summary_label_properties.py +++ b/influxdb_client/domain/template_summary_label_properties.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummaryLabelProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary.py b/influxdb_client/domain/template_summary_summary.py index 1ca03b97..5ca10021 100644 --- a/influxdb_client/domain/template_summary_summary.py +++ b/influxdb_client/domain/template_summary_summary.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummary(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -322,7 +320,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_buckets.py b/influxdb_client/domain/template_summary_summary_buckets.py index ccb5ada6..ba43e8ca 100644 --- a/influxdb_client/domain/template_summary_summary_buckets.py +++ b/influxdb_client/domain/template_summary_summary_buckets.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryBuckets(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -253,7 +251,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_dashboards.py b/influxdb_client/domain/template_summary_summary_dashboards.py index 7c440fb7..91a54849 100644 --- a/influxdb_client/domain/template_summary_summary_dashboards.py +++ b/influxdb_client/domain/template_summary_summary_dashboards.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryDashboards(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -253,7 +251,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_label_mappings.py b/influxdb_client/domain/template_summary_summary_label_mappings.py index 39f65b2e..9051866c 100644 --- a/influxdb_client/domain/template_summary_summary_label_mappings.py +++ b/influxdb_client/domain/template_summary_summary_label_mappings.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryLabelMappings(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -230,7 +228,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_notification_rules.py b/influxdb_client/domain/template_summary_summary_notification_rules.py index 3a61fedf..63168ed0 100644 --- a/influxdb_client/domain/template_summary_summary_notification_rules.py +++ b/influxdb_client/domain/template_summary_summary_notification_rules.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryNotificationRules(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -391,7 +389,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_status_rules.py b/influxdb_client/domain/template_summary_summary_status_rules.py index 7bef1e21..90a7c5a9 100644 --- a/influxdb_client/domain/template_summary_summary_status_rules.py +++ b/influxdb_client/domain/template_summary_summary_status_rules.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryStatusRules(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_tag_rules.py b/influxdb_client/domain/template_summary_summary_tag_rules.py index 3f82ed9f..3c1a4475 100644 --- a/influxdb_client/domain/template_summary_summary_tag_rules.py +++ b/influxdb_client/domain/template_summary_summary_tag_rules.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryTagRules(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_tasks.py b/influxdb_client/domain/template_summary_summary_tasks.py index b1c1efe2..7b8db751 100644 --- a/influxdb_client/domain/template_summary_summary_tasks.py +++ b/influxdb_client/domain/template_summary_summary_tasks.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryTasks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -299,7 +297,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/template_summary_summary_variables.py b/influxdb_client/domain/template_summary_summary_variables.py index e3592dbf..458ea473 100644 --- a/influxdb_client/domain/template_summary_summary_variables.py +++ b/influxdb_client/domain/template_summary_summary_variables.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class TemplateSummarySummaryVariables(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -253,7 +251,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/test_statement.py b/influxdb_client/domain/test_statement.py index e4bbef6b..e9575365 100644 --- a/influxdb_client/domain/test_statement.py +++ b/influxdb_client/domain/test_statement.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/threshold.py b/influxdb_client/domain/threshold.py index a4f86392..0999dc79 100644 --- a/influxdb_client/domain/threshold.py +++ b/influxdb_client/domain/threshold.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Threshold(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -82,7 +80,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/threshold_base.py b/influxdb_client/domain/threshold_base.py index 958dccf9..dad715ca 100644 --- a/influxdb_client/domain/threshold_base.py +++ b/influxdb_client/domain/threshold_base.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ThresholdBase(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -96,7 +94,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/threshold_check.py b/influxdb_client/domain/threshold_check.py index f07a3c87..30504cb0 100644 --- a/influxdb_client/domain/threshold_check.py +++ b/influxdb_client/domain/threshold_check.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.check_discriminator import CheckDiscriminator @@ -234,7 +233,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/unary_expression.py b/influxdb_client/domain/unary_expression.py index 14cc0385..0d6fae08 100644 --- a/influxdb_client/domain/unary_expression.py +++ b/influxdb_client/domain/unary_expression.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -122,7 +121,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/unsigned_integer_literal.py b/influxdb_client/domain/unsigned_integer_literal.py index acedede3..b7692a15 100644 --- a/influxdb_client/domain/unsigned_integer_literal.py +++ b/influxdb_client/domain/unsigned_integer_literal.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.expression import Expression @@ -99,7 +98,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/user.py b/influxdb_client/domain/user.py index 76c7053b..7232abd4 100644 --- a/influxdb_client/domain/user.py +++ b/influxdb_client/domain/user.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class User(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -143,7 +141,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/user_response.py b/influxdb_client/domain/user_response.py index 68938166..6a6215e3 100644 --- a/influxdb_client/domain/user_response.py +++ b/influxdb_client/domain/user_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class UserResponse(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -166,7 +164,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/user_response_links.py b/influxdb_client/domain/user_response_links.py index 6bdea56a..bf825cf2 100644 --- a/influxdb_client/domain/user_response_links.py +++ b/influxdb_client/domain/user_response_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class UserResponseLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/users.py b/influxdb_client/domain/users.py index 029d3768..067116c9 100644 --- a/influxdb_client/domain/users.py +++ b/influxdb_client/domain/users.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Users(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/variable.py b/influxdb_client/domain/variable.py index fcf9f99f..4c1b2800 100644 --- a/influxdb_client/domain/variable.py +++ b/influxdb_client/domain/variable.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Variable(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -279,7 +277,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/variable_assignment.py b/influxdb_client/domain/variable_assignment.py index 59acccca..c13e5493 100644 --- a/influxdb_client/domain/variable_assignment.py +++ b/influxdb_client/domain/variable_assignment.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.statement import Statement @@ -122,7 +121,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/variable_links.py b/influxdb_client/domain/variable_links.py index f708b326..44a8237d 100644 --- a/influxdb_client/domain/variable_links.py +++ b/influxdb_client/domain/variable_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class VariableLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -115,7 +113,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/variable_properties.py b/influxdb_client/domain/variable_properties.py index affc2734..c9d9d153 100644 --- a/influxdb_client/domain/variable_properties.py +++ b/influxdb_client/domain/variable_properties.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class VariableProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -44,7 +42,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/variables.py b/influxdb_client/domain/variables.py index 31944dde..50ebbf3c 100644 --- a/influxdb_client/domain/variables.py +++ b/influxdb_client/domain/variables.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Variables(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/view.py b/influxdb_client/domain/view.py index 2384587d..56712536 100644 --- a/influxdb_client/domain/view.py +++ b/influxdb_client/domain/view.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class View(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -140,7 +138,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/view_links.py b/influxdb_client/domain/view_links.py index 0c2730cf..8705bc1f 100644 --- a/influxdb_client/domain/view_links.py +++ b/influxdb_client/domain/view_links.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ViewLinks(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -69,7 +67,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/view_properties.py b/influxdb_client/domain/view_properties.py index e340453c..e08c354a 100644 --- a/influxdb_client/domain/view_properties.py +++ b/influxdb_client/domain/view_properties.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class ViewProperties(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -44,7 +42,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/views.py b/influxdb_client/domain/views.py index cdb67693..a9bbb649 100644 --- a/influxdb_client/domain/views.py +++ b/influxdb_client/domain/views.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class Views(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -92,7 +90,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/write_precision.py b/influxdb_client/domain/write_precision.py index 1065ff7d..41a0db93 100644 --- a/influxdb_client/domain/write_precision.py +++ b/influxdb_client/domain/write_precision.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class WritePrecision(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -52,7 +50,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/xy_geom.py b/influxdb_client/domain/xy_geom.py index 9e88d71c..367806b4 100644 --- a/influxdb_client/domain/xy_geom.py +++ b/influxdb_client/domain/xy_geom.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - class XYGeom(object): """NOTE: This class is auto generated by OpenAPI Generator. @@ -32,6 +30,8 @@ class XYGeom(object): STACKED = "stacked" BAR = "bar" MONOTONEX = "monotoneX" + STEPBEFORE = "stepBefore" + STEPAFTER = "stepAfter" """ Attributes: @@ -53,7 +53,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/domain/xy_view_properties.py b/influxdb_client/domain/xy_view_properties.py index 74368d0b..d598cbc0 100644 --- a/influxdb_client/domain/xy_view_properties.py +++ b/influxdb_client/domain/xy_view_properties.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from influxdb_client.domain.view_properties import ViewProperties @@ -714,7 +713,7 @@ def to_dict(self): """Return the model properties as a dict.""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/influxdb_client/service/_base_service.py b/influxdb_client/service/_base_service.py index 39eba5a2..0addd6eb 100644 --- a/influxdb_client/service/_base_service.py +++ b/influxdb_client/service/_base_service.py @@ -1,4 +1,3 @@ -import six # noinspection PyMethodMayBeStatic @@ -9,7 +8,7 @@ def _check_operation_params(self, operation_id, supported_params, local_params): supported_params.append('_preload_content') supported_params.append('_request_timeout') supported_params.append('urlopen_kw') - for key, val in six.iteritems(local_params['kwargs']): + for key, val in local_params['kwargs'].items(): if key not in supported_params: raise TypeError( f"Got an unexpected keyword argument '{key}'" diff --git a/influxdb_client/service/config_service.py b/influxdb_client/service/config_service.py index 93cad9fa..8444f9c3 100644 --- a/influxdb_client/service/config_service.py +++ b/influxdb_client/service/config_service.py @@ -32,8 +32,9 @@ def __init__(self, api_client=None): # noqa: E501,D401,D403 self.api_client = api_client def get_config(self, **kwargs): # noqa: E501,D401,D403 - """Get the run-time configuration of the instance. + """Retrieve runtime configuration. + Returns the active runtime configuration of the InfluxDB instance. In InfluxDB v2.2+, use this endpoint to view your active runtime configuration, including flags and environment variables. #### Related guides - [View your runtime server configuration](https://docs.influxdata.com/influxdb/v2.2/reference/config-options/#view-your-runtime-server-configuration) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_config(async_req=True) @@ -53,8 +54,9 @@ def get_config(self, **kwargs): # noqa: E501,D401,D403 return data def get_config_with_http_info(self, **kwargs): # noqa: E501,D401,D403 - """Get the run-time configuration of the instance. + """Retrieve runtime configuration. + Returns the active runtime configuration of the InfluxDB instance. In InfluxDB v2.2+, use this endpoint to view your active runtime configuration, including flags and environment variables. #### Related guides - [View your runtime server configuration](https://docs.influxdata.com/influxdb/v2.2/reference/config-options/#view-your-runtime-server-configuration) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_config_with_http_info(async_req=True) @@ -87,8 +89,9 @@ def get_config_with_http_info(self, **kwargs): # noqa: E501,D401,D403 urlopen_kw=kwargs.get('urlopen_kw', None)) async def get_config_async(self, **kwargs): # noqa: E501,D401,D403 - """Get the run-time configuration of the instance. + """Retrieve runtime configuration. + Returns the active runtime configuration of the InfluxDB instance. In InfluxDB v2.2+, use this endpoint to view your active runtime configuration, including flags and environment variables. #### Related guides - [View your runtime server configuration](https://docs.influxdata.com/influxdb/v2.2/reference/config-options/#view-your-runtime-server-configuration) This method makes an asynchronous HTTP request. :param async_req bool diff --git a/influxdb_client/service/dashboards_service.py b/influxdb_client/service/dashboards_service.py index 1867b155..711c9b5a 100644 --- a/influxdb_client/service/dashboards_service.py +++ b/influxdb_client/service/dashboards_service.py @@ -801,7 +801,7 @@ def _get_dashboards_prepare(self, **kwargs): # noqa: E501,D401,D403 return local_var_params, path_params, query_params, header_params, body_params def get_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 - """Retrieve a Dashboard. + """Retrieve a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -811,7 +811,7 @@ def get_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context - :param str include: Includes the cell view properties in the response if set to `properties` + :param str include: If `properties`, includes the cell view properties in the response. :return: DashboardWithViewProperties If the method is called asynchronously, returns the request thread. @@ -824,7 +824,7 @@ def get_dashboards_id(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 return data def get_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 - """Retrieve a Dashboard. + """Retrieve a dashboard. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -834,7 +834,7 @@ def get_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E50 :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context - :param str include: Includes the cell view properties in the response if set to `properties` + :param str include: If `properties`, includes the cell view properties in the response. :return: DashboardWithViewProperties If the method is called asynchronously, returns the request thread. @@ -860,14 +860,14 @@ def get_dashboards_id_with_http_info(self, dashboard_id, **kwargs): # noqa: E50 urlopen_kw=kwargs.get('urlopen_kw', None)) async def get_dashboards_id_async(self, dashboard_id, **kwargs): # noqa: E501,D401,D403 - """Retrieve a Dashboard. + """Retrieve a dashboard. This method makes an asynchronous HTTP request. :param async_req bool :param str dashboard_id: The ID of the dashboard to update. (required) :param str zap_trace_span: OpenTracing span context - :param str include: Includes the cell view properties in the response if set to `properties` + :param str include: If `properties`, includes the cell view properties in the response. :return: DashboardWithViewProperties If the method is called asynchronously, returns the request thread. diff --git a/influxdb_client/service/delete_service.py b/influxdb_client/service/delete_service.py index 91af22e0..3a4c1b81 100644 --- a/influxdb_client/service/delete_service.py +++ b/influxdb_client/service/delete_service.py @@ -34,18 +34,19 @@ def __init__(self, api_client=None): # noqa: E501,D401,D403 def post_delete(self, delete_predicate_request, **kwargs): # noqa: E501,D401,D403 """Delete data. + Deletes data from a bucket. Use this endpoint to delete points from a bucket in a specified time range. #### InfluxDB Cloud - Does the following when you send a delete request: 1. Validates the request and queues the delete. 2. Returns _success_ if queued; _error_ otherwise. 3. Handles the delete asynchronously. #### InfluxDB OSS - Validates the request, handles the delete synchronously, and then responds with success or failure. #### Required permissions - `write-buckets` or `write-bucket BUCKET_ID`. `BUCKET_ID` is the ID of the destination bucket. #### Rate limits (with InfluxDB Cloud) `write` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Delete data](https://docs.influxdata.com/influxdb/v2.2/write-data/delete-data/). - Learn how to use [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). - Learn how InfluxDB handles [deleted tags](https://docs.influxdata.com/flux/v0.x/stdlib/influxdata/influxdb/schema/measurementtagkeys/) and [deleted fields](https://docs.influxdata.com/flux/v0.x/stdlib/influxdata/influxdb/schema/measurementfieldkeys/). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_delete(delete_predicate_request, async_req=True) >>> result = thread.get() :param async_req bool - :param DeletePredicateRequest delete_predicate_request: Deletes data from an InfluxDB bucket. (required) + :param DeletePredicateRequest delete_predicate_request: Time range parameters and an optional **delete predicate expression**. To select points to delete within the specified time range, pass a **delete predicate expression** in the `predicate` property of the request body. If you don't pass a `predicate`, InfluxDB deletes all data with timestamps in the specified time range. #### Related guides - [Delete data](https://docs.influxdata.com/influxdb/v2.2/write-data/delete-data/). - Learn how to use [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). (required) :param str zap_trace_span: OpenTracing span context - :param str org: Specifies the organization to delete data from. - :param str bucket: Specifies the bucket to delete data from. - :param str org_id: Specifies the organization ID of the resource. - :param str bucket_id: Specifies the bucket ID to delete data from. + :param str org: The organization to delete data from. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Deletes data from the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str bucket: The name or ID of the bucket to delete data from. If you pass both `bucket` and `bucketID`, `bucketID` takes precedence. + :param str org_id: The ID of the organization to delete data from. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Deletes data from the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str bucket_id: The ID of the bucket to delete data from. If you pass both `bucket` and `bucketID`, `bucketID` takes precedence. :return: None If the method is called asynchronously, returns the request thread. @@ -60,18 +61,19 @@ def post_delete(self, delete_predicate_request, **kwargs): # noqa: E501,D401,D4 def post_delete_with_http_info(self, delete_predicate_request, **kwargs): # noqa: E501,D401,D403 """Delete data. + Deletes data from a bucket. Use this endpoint to delete points from a bucket in a specified time range. #### InfluxDB Cloud - Does the following when you send a delete request: 1. Validates the request and queues the delete. 2. Returns _success_ if queued; _error_ otherwise. 3. Handles the delete asynchronously. #### InfluxDB OSS - Validates the request, handles the delete synchronously, and then responds with success or failure. #### Required permissions - `write-buckets` or `write-bucket BUCKET_ID`. `BUCKET_ID` is the ID of the destination bucket. #### Rate limits (with InfluxDB Cloud) `write` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Delete data](https://docs.influxdata.com/influxdb/v2.2/write-data/delete-data/). - Learn how to use [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). - Learn how InfluxDB handles [deleted tags](https://docs.influxdata.com/flux/v0.x/stdlib/influxdata/influxdb/schema/measurementtagkeys/) and [deleted fields](https://docs.influxdata.com/flux/v0.x/stdlib/influxdata/influxdb/schema/measurementfieldkeys/). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_delete_with_http_info(delete_predicate_request, async_req=True) >>> result = thread.get() :param async_req bool - :param DeletePredicateRequest delete_predicate_request: Deletes data from an InfluxDB bucket. (required) + :param DeletePredicateRequest delete_predicate_request: Time range parameters and an optional **delete predicate expression**. To select points to delete within the specified time range, pass a **delete predicate expression** in the `predicate` property of the request body. If you don't pass a `predicate`, InfluxDB deletes all data with timestamps in the specified time range. #### Related guides - [Delete data](https://docs.influxdata.com/influxdb/v2.2/write-data/delete-data/). - Learn how to use [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). (required) :param str zap_trace_span: OpenTracing span context - :param str org: Specifies the organization to delete data from. - :param str bucket: Specifies the bucket to delete data from. - :param str org_id: Specifies the organization ID of the resource. - :param str bucket_id: Specifies the bucket ID to delete data from. + :param str org: The organization to delete data from. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Deletes data from the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str bucket: The name or ID of the bucket to delete data from. If you pass both `bucket` and `bucketID`, `bucketID` takes precedence. + :param str org_id: The ID of the organization to delete data from. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Deletes data from the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str bucket_id: The ID of the bucket to delete data from. If you pass both `bucket` and `bucketID`, `bucketID` takes precedence. :return: None If the method is called asynchronously, returns the request thread. @@ -99,15 +101,16 @@ def post_delete_with_http_info(self, delete_predicate_request, **kwargs): # noq async def post_delete_async(self, delete_predicate_request, **kwargs): # noqa: E501,D401,D403 """Delete data. + Deletes data from a bucket. Use this endpoint to delete points from a bucket in a specified time range. #### InfluxDB Cloud - Does the following when you send a delete request: 1. Validates the request and queues the delete. 2. Returns _success_ if queued; _error_ otherwise. 3. Handles the delete asynchronously. #### InfluxDB OSS - Validates the request, handles the delete synchronously, and then responds with success or failure. #### Required permissions - `write-buckets` or `write-bucket BUCKET_ID`. `BUCKET_ID` is the ID of the destination bucket. #### Rate limits (with InfluxDB Cloud) `write` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Delete data](https://docs.influxdata.com/influxdb/v2.2/write-data/delete-data/). - Learn how to use [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). - Learn how InfluxDB handles [deleted tags](https://docs.influxdata.com/flux/v0.x/stdlib/influxdata/influxdb/schema/measurementtagkeys/) and [deleted fields](https://docs.influxdata.com/flux/v0.x/stdlib/influxdata/influxdb/schema/measurementfieldkeys/). This method makes an asynchronous HTTP request. :param async_req bool - :param DeletePredicateRequest delete_predicate_request: Deletes data from an InfluxDB bucket. (required) + :param DeletePredicateRequest delete_predicate_request: Time range parameters and an optional **delete predicate expression**. To select points to delete within the specified time range, pass a **delete predicate expression** in the `predicate` property of the request body. If you don't pass a `predicate`, InfluxDB deletes all data with timestamps in the specified time range. #### Related guides - [Delete data](https://docs.influxdata.com/influxdb/v2.2/write-data/delete-data/). - Learn how to use [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/delete-predicate/). (required) :param str zap_trace_span: OpenTracing span context - :param str org: Specifies the organization to delete data from. - :param str bucket: Specifies the bucket to delete data from. - :param str org_id: Specifies the organization ID of the resource. - :param str bucket_id: Specifies the bucket ID to delete data from. + :param str org: The organization to delete data from. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Deletes data from the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str bucket: The name or ID of the bucket to delete data from. If you pass both `bucket` and `bucketID`, `bucketID` takes precedence. + :param str org_id: The ID of the organization to delete data from. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Deletes data from the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str bucket_id: The ID of the bucket to delete data from. If you pass both `bucket` and `bucketID`, `bucketID` takes precedence. :return: None If the method is called asynchronously, returns the request thread. diff --git a/influxdb_client/service/health_service.py b/influxdb_client/service/health_service.py index aa5a5add..f0ac7fc5 100644 --- a/influxdb_client/service/health_service.py +++ b/influxdb_client/service/health_service.py @@ -32,8 +32,9 @@ def __init__(self, api_client=None): # noqa: E501,D401,D403 self.api_client = api_client def get_health(self, **kwargs): # noqa: E501,D401,D403 - """Get the health of an instance. + """Retrieve the health of the instance. + Returns the health of the instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_health(async_req=True) @@ -53,8 +54,9 @@ def get_health(self, **kwargs): # noqa: E501,D401,D403 return data def get_health_with_http_info(self, **kwargs): # noqa: E501,D401,D403 - """Get the health of an instance. + """Retrieve the health of the instance. + Returns the health of the instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_health_with_http_info(async_req=True) @@ -87,8 +89,9 @@ def get_health_with_http_info(self, **kwargs): # noqa: E501,D401,D403 urlopen_kw=kwargs.get('urlopen_kw', None)) async def get_health_async(self, **kwargs): # noqa: E501,D401,D403 - """Get the health of an instance. + """Retrieve the health of the instance. + Returns the health of the instance. This method makes an asynchronous HTTP request. :param async_req bool diff --git a/influxdb_client/service/invokable_scripts_service.py b/influxdb_client/service/invokable_scripts_service.py index ceefa563..9b2680f8 100644 --- a/influxdb_client/service/invokable_scripts_service.py +++ b/influxdb_client/service/invokable_scripts_service.py @@ -139,10 +139,6 @@ def _delete_scripts_id_prepare(self, script_id, **kwargs): # noqa: E501,D401,D4 header_params = {} body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - return local_var_params, path_params, query_params, header_params, body_params def get_scripts(self, **kwargs): # noqa: E501,D401,D403 diff --git a/influxdb_client/service/labels_service.py b/influxdb_client/service/labels_service.py index e10110a1..8b0b29ea 100644 --- a/influxdb_client/service/labels_service.py +++ b/influxdb_client/service/labels_service.py @@ -385,7 +385,7 @@ def patch_labels_id(self, label_id, label_update, **kwargs): # noqa: E501,D401, :param async_req bool :param str label_id: The ID of the label to update. (required) - :param LabelUpdate label_update: Label update (required) + :param LabelUpdate label_update: A label update. (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, @@ -408,7 +408,7 @@ def patch_labels_id_with_http_info(self, label_id, label_update, **kwargs): # n :param async_req bool :param str label_id: The ID of the label to update. (required) - :param LabelUpdate label_update: Label update (required) + :param LabelUpdate label_update: A label update. (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, @@ -441,7 +441,7 @@ async def patch_labels_id_async(self, label_id, label_update, **kwargs): # noqa :param async_req bool :param str label_id: The ID of the label to update. (required) - :param LabelUpdate label_update: Label update (required) + :param LabelUpdate label_update: A label update. (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, @@ -513,7 +513,7 @@ def post_labels(self, label_create_request, **kwargs): # noqa: E501,D401,D403 >>> result = thread.get() :param async_req bool - :param LabelCreateRequest label_create_request: Label to create (required) + :param LabelCreateRequest label_create_request: The label to create. (required) :return: LabelResponse If the method is called asynchronously, returns the request thread. @@ -534,7 +534,7 @@ def post_labels_with_http_info(self, label_create_request, **kwargs): # noqa: E >>> result = thread.get() :param async_req bool - :param LabelCreateRequest label_create_request: Label to create (required) + :param LabelCreateRequest label_create_request: The label to create. (required) :return: LabelResponse If the method is called asynchronously, returns the request thread. @@ -565,7 +565,7 @@ async def post_labels_async(self, label_create_request, **kwargs): # noqa: E501 This method makes an asynchronous HTTP request. :param async_req bool - :param LabelCreateRequest label_create_request: Label to create (required) + :param LabelCreateRequest label_create_request: The label to create. (required) :return: LabelResponse If the method is called asynchronously, returns the request thread. diff --git a/influxdb_client/service/metrics_service.py b/influxdb_client/service/metrics_service.py index 77c0336c..8dc055e7 100644 --- a/influxdb_client/service/metrics_service.py +++ b/influxdb_client/service/metrics_service.py @@ -32,8 +32,9 @@ def __init__(self, api_client=None): # noqa: E501,D401,D403 self.api_client = api_client def get_metrics(self, **kwargs): # noqa: E501,D401,D403 - """Get metrics of an instance. + """Retrieve workload performance metrics. + Returns metrics about the workload performance of an InfluxDB instance. Use this endpoint to get performance, resource, and usage metrics. #### Related guides - For the list of metrics categories, see [InfluxDB OSS metrics](https://docs.influxdata.com/influxdb/v2.2/reference/internals/metrics/). - Learn how to use InfluxDB to [scrape Prometheus metrics](https://docs.influxdata.com/influxdb/v2.2write-data/developer-tools/scrape-prometheus-metrics/). - Learn how InfluxDB [parses the Prometheus exposition format](https://docs.influxdata.com/influxdb/v2.2/reference/prometheus-metrics/). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_metrics(async_req=True) @@ -53,8 +54,9 @@ def get_metrics(self, **kwargs): # noqa: E501,D401,D403 return data def get_metrics_with_http_info(self, **kwargs): # noqa: E501,D401,D403 - """Get metrics of an instance. + """Retrieve workload performance metrics. + Returns metrics about the workload performance of an InfluxDB instance. Use this endpoint to get performance, resource, and usage metrics. #### Related guides - For the list of metrics categories, see [InfluxDB OSS metrics](https://docs.influxdata.com/influxdb/v2.2/reference/internals/metrics/). - Learn how to use InfluxDB to [scrape Prometheus metrics](https://docs.influxdata.com/influxdb/v2.2write-data/developer-tools/scrape-prometheus-metrics/). - Learn how InfluxDB [parses the Prometheus exposition format](https://docs.influxdata.com/influxdb/v2.2/reference/prometheus-metrics/). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_metrics_with_http_info(async_req=True) @@ -87,8 +89,9 @@ def get_metrics_with_http_info(self, **kwargs): # noqa: E501,D401,D403 urlopen_kw=kwargs.get('urlopen_kw', None)) async def get_metrics_async(self, **kwargs): # noqa: E501,D401,D403 - """Get metrics of an instance. + """Retrieve workload performance metrics. + Returns metrics about the workload performance of an InfluxDB instance. Use this endpoint to get performance, resource, and usage metrics. #### Related guides - For the list of metrics categories, see [InfluxDB OSS metrics](https://docs.influxdata.com/influxdb/v2.2/reference/internals/metrics/). - Learn how to use InfluxDB to [scrape Prometheus metrics](https://docs.influxdata.com/influxdb/v2.2write-data/developer-tools/scrape-prometheus-metrics/). - Learn how InfluxDB [parses the Prometheus exposition format](https://docs.influxdata.com/influxdb/v2.2/reference/prometheus-metrics/). This method makes an asynchronous HTTP request. :param async_req bool diff --git a/influxdb_client/service/ping_service.py b/influxdb_client/service/ping_service.py index 05b5b9a1..7ba06f99 100644 --- a/influxdb_client/service/ping_service.py +++ b/influxdb_client/service/ping_service.py @@ -32,8 +32,9 @@ def __init__(self, api_client=None): # noqa: E501,D401,D403 self.api_client = api_client def get_ping(self, **kwargs): # noqa: E501,D401,D403 - """Checks the status of InfluxDB instance and version of InfluxDB.. + """Get the status and version of the instance. + Returns the status and InfluxDB version of the instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_ping(async_req=True) @@ -52,8 +53,9 @@ def get_ping(self, **kwargs): # noqa: E501,D401,D403 return data def get_ping_with_http_info(self, **kwargs): # noqa: E501,D401,D403 - """Checks the status of InfluxDB instance and version of InfluxDB.. + """Get the status and version of the instance. + Returns the status and InfluxDB version of the instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_ping_with_http_info(async_req=True) @@ -85,8 +87,9 @@ def get_ping_with_http_info(self, **kwargs): # noqa: E501,D401,D403 urlopen_kw=kwargs.get('urlopen_kw', None)) async def get_ping_async(self, **kwargs): # noqa: E501,D401,D403 - """Checks the status of InfluxDB instance and version of InfluxDB.. + """Get the status and version of the instance. + Returns the status and InfluxDB version of the instance. This method makes an asynchronous HTTP request. :param async_req bool @@ -130,8 +133,9 @@ def _get_ping_prepare(self, **kwargs): # noqa: E501,D401,D403 return local_var_params, path_params, query_params, header_params, body_params def head_ping(self, **kwargs): # noqa: E501,D401,D403 - """Checks the status of InfluxDB instance and version of InfluxDB.. + """Get the status and version of the instance. + Returns the status and InfluxDB version of the instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.head_ping(async_req=True) @@ -150,8 +154,9 @@ def head_ping(self, **kwargs): # noqa: E501,D401,D403 return data def head_ping_with_http_info(self, **kwargs): # noqa: E501,D401,D403 - """Checks the status of InfluxDB instance and version of InfluxDB.. + """Get the status and version of the instance. + Returns the status and InfluxDB version of the instance. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.head_ping_with_http_info(async_req=True) @@ -183,8 +188,9 @@ def head_ping_with_http_info(self, **kwargs): # noqa: E501,D401,D403 urlopen_kw=kwargs.get('urlopen_kw', None)) async def head_ping_async(self, **kwargs): # noqa: E501,D401,D403 - """Checks the status of InfluxDB instance and version of InfluxDB.. + """Get the status and version of the instance. + Returns the status and InfluxDB version of the instance. This method makes an asynchronous HTTP request. :param async_req bool diff --git a/influxdb_client/service/query_service.py b/influxdb_client/service/query_service.py index c55170b4..7155a3c8 100644 --- a/influxdb_client/service/query_service.py +++ b/influxdb_client/service/query_service.py @@ -257,7 +257,7 @@ def _get_query_suggestions_name_prepare(self, name, **kwargs): # noqa: E501,D40 def post_query(self, **kwargs): # noqa: E501,D401,D403 """Query data. - Retrieves data from InfluxDB buckets. To query data, you need the following: - **organization** – _See [View organizations](https://docs.influxdata.com/influxdb/v2.1/organizations/view-orgs/#view-your-organization-id) for instructions on viewing your organization ID._ - **API token** – _See [View tokens](https://docs.influxdata.com/influxdb/v2.1/security/tokens/view-tokens/) for instructions on viewing your API token._ - **InfluxDB URL** – _See [InfluxDB URLs](https://docs.influxdata.com/influxdb/v2.1/reference/urls/)_. - **Flux query** – _See [Flux](https://docs.influxdata.com/flux/v0.x/)._ For more information and examples, see [Query with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.1/query-data/execute-queries/influx-api/). + Retrieves data from buckets. Use this endpoint to send a Flux query request and retreive data from a bucket. #### Rate limits (with InfluxDB Cloud) `read` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Query with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.2/query-data/execute-queries/influx-api/). - [Get started with Flux](https://docs.influxdata.com/flux/v0.x/get-started/) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_query(async_req=True) @@ -265,10 +265,10 @@ def post_query(self, **kwargs): # noqa: E501,D401,D403 :param async_req bool :param str zap_trace_span: OpenTracing span context - :param str accept_encoding: Indicates the content encoding (usually a compression algorithm) that the client can understand. + :param str accept_encoding: The content encoding (usually a compression algorithm) that the client can understand. :param str content_type: - :param str org: Name of the organization executing the query. Accepts either the ID or Name. If you provide both `orgID` and `org`, `org` takes precedence. - :param str org_id: ID of the organization executing the query. If you provide both `orgID` and `org`, `org` takes precedence. + :param str org: The name or ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str org_id: The ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. :param Query query: Flux query or specification to execute :return: str If the method is called asynchronously, @@ -284,7 +284,7 @@ def post_query(self, **kwargs): # noqa: E501,D401,D403 def post_query_with_http_info(self, **kwargs): # noqa: E501,D401,D403 """Query data. - Retrieves data from InfluxDB buckets. To query data, you need the following: - **organization** – _See [View organizations](https://docs.influxdata.com/influxdb/v2.1/organizations/view-orgs/#view-your-organization-id) for instructions on viewing your organization ID._ - **API token** – _See [View tokens](https://docs.influxdata.com/influxdb/v2.1/security/tokens/view-tokens/) for instructions on viewing your API token._ - **InfluxDB URL** – _See [InfluxDB URLs](https://docs.influxdata.com/influxdb/v2.1/reference/urls/)_. - **Flux query** – _See [Flux](https://docs.influxdata.com/flux/v0.x/)._ For more information and examples, see [Query with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.1/query-data/execute-queries/influx-api/). + Retrieves data from buckets. Use this endpoint to send a Flux query request and retreive data from a bucket. #### Rate limits (with InfluxDB Cloud) `read` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Query with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.2/query-data/execute-queries/influx-api/). - [Get started with Flux](https://docs.influxdata.com/flux/v0.x/get-started/) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_query_with_http_info(async_req=True) @@ -292,10 +292,10 @@ def post_query_with_http_info(self, **kwargs): # noqa: E501,D401,D403 :param async_req bool :param str zap_trace_span: OpenTracing span context - :param str accept_encoding: Indicates the content encoding (usually a compression algorithm) that the client can understand. + :param str accept_encoding: The content encoding (usually a compression algorithm) that the client can understand. :param str content_type: - :param str org: Name of the organization executing the query. Accepts either the ID or Name. If you provide both `orgID` and `org`, `org` takes precedence. - :param str org_id: ID of the organization executing the query. If you provide both `orgID` and `org`, `org` takes precedence. + :param str org: The name or ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str org_id: The ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. :param Query query: Flux query or specification to execute :return: str If the method is called asynchronously, @@ -324,15 +324,15 @@ def post_query_with_http_info(self, **kwargs): # noqa: E501,D401,D403 async def post_query_async(self, **kwargs): # noqa: E501,D401,D403 """Query data. - Retrieves data from InfluxDB buckets. To query data, you need the following: - **organization** – _See [View organizations](https://docs.influxdata.com/influxdb/v2.1/organizations/view-orgs/#view-your-organization-id) for instructions on viewing your organization ID._ - **API token** – _See [View tokens](https://docs.influxdata.com/influxdb/v2.1/security/tokens/view-tokens/) for instructions on viewing your API token._ - **InfluxDB URL** – _See [InfluxDB URLs](https://docs.influxdata.com/influxdb/v2.1/reference/urls/)_. - **Flux query** – _See [Flux](https://docs.influxdata.com/flux/v0.x/)._ For more information and examples, see [Query with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.1/query-data/execute-queries/influx-api/). + Retrieves data from buckets. Use this endpoint to send a Flux query request and retreive data from a bucket. #### Rate limits (with InfluxDB Cloud) `read` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Query with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.2/query-data/execute-queries/influx-api/). - [Get started with Flux](https://docs.influxdata.com/flux/v0.x/get-started/) This method makes an asynchronous HTTP request. :param async_req bool :param str zap_trace_span: OpenTracing span context - :param str accept_encoding: Indicates the content encoding (usually a compression algorithm) that the client can understand. + :param str accept_encoding: The content encoding (usually a compression algorithm) that the client can understand. :param str content_type: - :param str org: Name of the organization executing the query. Accepts either the ID or Name. If you provide both `orgID` and `org`, `org` takes precedence. - :param str org_id: ID of the organization executing the query. If you provide both `orgID` and `org`, `org` takes precedence. + :param str org: The name or ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. + :param str org_id: The ID of the organization executing the query. #### InfluxDB Cloud - Doesn't use `org` or `orgID`. - Queries the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. :param Query query: Flux query or specification to execute :return: str If the method is called asynchronously, diff --git a/influxdb_client/service/tasks_service.py b/influxdb_client/service/tasks_service.py index 6b4491ab..b1772bfd 100644 --- a/influxdb_client/service/tasks_service.py +++ b/influxdb_client/service/tasks_service.py @@ -526,7 +526,7 @@ def _delete_tasks_id_owners_id_prepare(self, user_id, task_id, **kwargs): # noq return local_var_params, path_params, query_params, header_params, body_params def delete_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 - """Cancel a running task. + """Cancel a running task. #### InfluxDB Cloud - Doesn't support this operation. . This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -549,7 +549,7 @@ def delete_tasks_id_runs_id(self, task_id, run_id, **kwargs): # noqa: E501,D401 return data def delete_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 - """Cancel a running task. + """Cancel a running task. #### InfluxDB Cloud - Doesn't support this operation. . This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -585,7 +585,7 @@ def delete_tasks_id_runs_id_with_http_info(self, task_id, run_id, **kwargs): # urlopen_kw=kwargs.get('urlopen_kw', None)) async def delete_tasks_id_runs_id_async(self, task_id, run_id, **kwargs): # noqa: E501,D401,D403 - """Cancel a running task. + """Cancel a running task. #### InfluxDB Cloud - Doesn't support this operation. . This method makes an asynchronous HTTP request. diff --git a/influxdb_client/service/users_service.py b/influxdb_client/service/users_service.py index f5977f2d..9aea549e 100644 --- a/influxdb_client/service/users_service.py +++ b/influxdb_client/service/users_service.py @@ -1007,7 +1007,7 @@ def put_me_password(self, password_reset_body, **kwargs): # noqa: E501,D401,D40 >>> result = thread.get() :param async_req bool - :param PasswordResetBody password_reset_body: New password (required) + :param PasswordResetBody password_reset_body: The new password. (required) :param str zap_trace_span: OpenTracing span context :param str authorization: An auth credential for the Basic scheme :return: None @@ -1030,7 +1030,7 @@ def put_me_password_with_http_info(self, password_reset_body, **kwargs): # noqa >>> result = thread.get() :param async_req bool - :param PasswordResetBody password_reset_body: New password (required) + :param PasswordResetBody password_reset_body: The new password. (required) :param str zap_trace_span: OpenTracing span context :param str authorization: An auth credential for the Basic scheme :return: None @@ -1063,7 +1063,7 @@ async def put_me_password_async(self, password_reset_body, **kwargs): # noqa: E This method makes an asynchronous HTTP request. :param async_req bool - :param PasswordResetBody password_reset_body: New password (required) + :param PasswordResetBody password_reset_body: The new password. (required) :param str zap_trace_span: OpenTracing span context :param str authorization: An auth credential for the Basic scheme :return: None diff --git a/influxdb_client/service/write_service.py b/influxdb_client/service/write_service.py index 36f2390d..d55dda4e 100644 --- a/influxdb_client/service/write_service.py +++ b/influxdb_client/service/write_service.py @@ -34,23 +34,23 @@ def __init__(self, api_client=None): # noqa: E501,D401,D403 def post_write(self, org, bucket, body, **kwargs): # noqa: E501,D401,D403 """Write data. - Writes data to a bucket. To write data into InfluxDB, you need the following: - **organization name or ID** – _See [View organizations](https://docs.influxdata.com/influxdb/v2.1/organizations/view-orgs/#view-your-organization-id) for instructions on viewing your organization ID._ - **bucket** – _See [View buckets](https://docs.influxdata.com/influxdb/v2.1/organizations/buckets/view-buckets/) for instructions on viewing your bucket ID._ - **API token** – _See [View tokens](https://docs.influxdata.com/influxdb/v2.1/security/tokens/view-tokens/) for instructions on viewing your API token._ - **InfluxDB URL** – _See [InfluxDB URLs](https://docs.influxdata.com/influxdb/v2.1/reference/urls/)_. - data in [line protocol](https://docs.influxdata.com/influxdb/v2.1/reference/syntax/line-protocol) format. InfluxDB Cloud enforces rate and size limits different from InfluxDB OSS. For details, see Responses. For more information and examples, see the following: - [Write data with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.1/write-data/developer-tools/api). - [Optimize writes to InfluxDB](https://docs.influxdata.com/influxdb/v2.1/write-data/best-practices/optimize-writes/). - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.1/write-data/troubleshoot/) + Writes data to a bucket. Use this endpoint to send data in [line protocol](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/line-protocol/) format to InfluxDB. #### InfluxDB Cloud - Takes the following steps when you send a write request: 1. Validates the request and queues the write. 2. If the write is queued, responds with an HTTP `204` status code. 3. Handles the write asynchronously and reaches eventual consistency. An HTTP `2xx` status code acknowledges that the write or delete is queued. To ensure that InfluxDB Cloud handles writes and deletes in the order you request them, wait for a response before you send the next request. Because writes are asynchronous, data might not yet be written when you receive the response. #### InfluxDB OSS - Validates the request, handles the write synchronously, and then responds with success or failure. - If all points were written successfully, returns `204`, otherwise returns the first line that failed. #### Required permissions - `write-buckets` or `write-bucket BUCKET_ID`. `BUCKET_ID` is the ID of the destination bucket. #### Rate limits (with InfluxDB Cloud) `write` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Write data with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.2/write-data/developer-tools/api). - [Optimize writes to InfluxDB](https://docs.influxdata.com/influxdb/v2.2/write-data/best-practices/optimize-writes/). - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.2/write-data/troubleshoot/) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_write(org, bucket, body, async_req=True) >>> result = thread.get() :param async_req bool - :param str org: Destination organization for writes. The database writes all points in the batch to this organization. If you provide both `orgID` and `org` parameters, `org` takes precedence. (required) - :param str bucket: Destination bucket for writes. (required) - :param str body: Data in line protocol format. (required) + :param str org: The destination organization for writes. InfluxDB writes all points in the batch to this organization. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Writes to the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. - InfluxDB writes all points in the batch to this organization. (required) + :param str bucket: The destination bucket for writes. InfluxDB writes all points in the batch to this bucket. (required) + :param str body: Data in line protocol format. To send compressed data, do the following: 1. Use [GZIP](https://www.gzip.org/) to compress the line protocol data. 2. In your request, send the compressed data and the `Content-Encoding: gzip` header. #### Related guides - [Best practices for optimizing writes](https://docs.influxdata.com/influxdb/v2.2/write-data/best-practices/optimize-writes/). (required) :param str zap_trace_span: OpenTracing span context - :param str content_encoding: The value tells InfluxDB what compression is applied to the line protocol in the request payload. To make an API request with a GZIP payload, send `Content-Encoding: gzip` as a request header. - :param str content_type: Format of the data in the request body. To make an API request with a line protocol payload, send `Content-Type: text/plain; charset=utf-8` as a request header. - :param int content_length: Size of the entity-body, in bytes, sent to the database. If the length is greater than the database's `max body` configuration option, the server responds with status code `413`. - :param str accept: Content type that the client can understand. Writes only return a response body if they fail, e.g. due to a formatting problem or quota limit. #### InfluxDB Cloud - returns only `application/json` for format and limit errors. - returns only `text/html` for some quota limit errors. #### InfluxDB OSS - returns only `application/json` for format and limit errors. For more information about write errors, see how to [troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.1/write-data/troubleshoot/). - :param str org_id: ID of the destination organization for writes. If both `orgID` and `org` are specified, `org` takes precedence. - :param WritePrecision precision: Precision for unix timestamps in the line protocol of the request payload. + :param str content_encoding: The compression applied to the line protocol in the request payload. To send a GZIP payload, pass `Content-Encoding: gzip` header. + :param str content_type: The format of the data in the request body. To send a line protocol payload, pass `Content-Type: text/plain; charset=utf-8`. + :param int content_length: The size of the entity-body, in bytes, sent to InfluxDB. If the length is greater than the `max body` configuration option, the server responds with status code `413`. + :param str accept: The content type that the client can understand. Writes only return a response body if they fail--for example, due to a formatting problem or quota limit. #### InfluxDB Cloud - Returns only `application/json` for format and limit errors. - Returns only `text/html` for some quota limit errors. #### InfluxDB OSS - Returns only `application/json` for format and limit errors. #### Related guides - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.2/write-data/troubleshoot/). + :param str org_id: The ID of the destination organization for writes. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Writes to the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. - InfluxDB writes all points in the batch to this organization. + :param WritePrecision precision: The precision for unix timestamps in the line protocol batch. :return: None If the method is called asynchronously, returns the request thread. @@ -65,23 +65,23 @@ def post_write(self, org, bucket, body, **kwargs): # noqa: E501,D401,D403 def post_write_with_http_info(self, org, bucket, body, **kwargs): # noqa: E501,D401,D403 """Write data. - Writes data to a bucket. To write data into InfluxDB, you need the following: - **organization name or ID** – _See [View organizations](https://docs.influxdata.com/influxdb/v2.1/organizations/view-orgs/#view-your-organization-id) for instructions on viewing your organization ID._ - **bucket** – _See [View buckets](https://docs.influxdata.com/influxdb/v2.1/organizations/buckets/view-buckets/) for instructions on viewing your bucket ID._ - **API token** – _See [View tokens](https://docs.influxdata.com/influxdb/v2.1/security/tokens/view-tokens/) for instructions on viewing your API token._ - **InfluxDB URL** – _See [InfluxDB URLs](https://docs.influxdata.com/influxdb/v2.1/reference/urls/)_. - data in [line protocol](https://docs.influxdata.com/influxdb/v2.1/reference/syntax/line-protocol) format. InfluxDB Cloud enforces rate and size limits different from InfluxDB OSS. For details, see Responses. For more information and examples, see the following: - [Write data with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.1/write-data/developer-tools/api). - [Optimize writes to InfluxDB](https://docs.influxdata.com/influxdb/v2.1/write-data/best-practices/optimize-writes/). - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.1/write-data/troubleshoot/) + Writes data to a bucket. Use this endpoint to send data in [line protocol](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/line-protocol/) format to InfluxDB. #### InfluxDB Cloud - Takes the following steps when you send a write request: 1. Validates the request and queues the write. 2. If the write is queued, responds with an HTTP `204` status code. 3. Handles the write asynchronously and reaches eventual consistency. An HTTP `2xx` status code acknowledges that the write or delete is queued. To ensure that InfluxDB Cloud handles writes and deletes in the order you request them, wait for a response before you send the next request. Because writes are asynchronous, data might not yet be written when you receive the response. #### InfluxDB OSS - Validates the request, handles the write synchronously, and then responds with success or failure. - If all points were written successfully, returns `204`, otherwise returns the first line that failed. #### Required permissions - `write-buckets` or `write-bucket BUCKET_ID`. `BUCKET_ID` is the ID of the destination bucket. #### Rate limits (with InfluxDB Cloud) `write` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Write data with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.2/write-data/developer-tools/api). - [Optimize writes to InfluxDB](https://docs.influxdata.com/influxdb/v2.2/write-data/best-practices/optimize-writes/). - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.2/write-data/troubleshoot/) This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_write_with_http_info(org, bucket, body, async_req=True) >>> result = thread.get() :param async_req bool - :param str org: Destination organization for writes. The database writes all points in the batch to this organization. If you provide both `orgID` and `org` parameters, `org` takes precedence. (required) - :param str bucket: Destination bucket for writes. (required) - :param str body: Data in line protocol format. (required) + :param str org: The destination organization for writes. InfluxDB writes all points in the batch to this organization. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Writes to the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. - InfluxDB writes all points in the batch to this organization. (required) + :param str bucket: The destination bucket for writes. InfluxDB writes all points in the batch to this bucket. (required) + :param str body: Data in line protocol format. To send compressed data, do the following: 1. Use [GZIP](https://www.gzip.org/) to compress the line protocol data. 2. In your request, send the compressed data and the `Content-Encoding: gzip` header. #### Related guides - [Best practices for optimizing writes](https://docs.influxdata.com/influxdb/v2.2/write-data/best-practices/optimize-writes/). (required) :param str zap_trace_span: OpenTracing span context - :param str content_encoding: The value tells InfluxDB what compression is applied to the line protocol in the request payload. To make an API request with a GZIP payload, send `Content-Encoding: gzip` as a request header. - :param str content_type: Format of the data in the request body. To make an API request with a line protocol payload, send `Content-Type: text/plain; charset=utf-8` as a request header. - :param int content_length: Size of the entity-body, in bytes, sent to the database. If the length is greater than the database's `max body` configuration option, the server responds with status code `413`. - :param str accept: Content type that the client can understand. Writes only return a response body if they fail, e.g. due to a formatting problem or quota limit. #### InfluxDB Cloud - returns only `application/json` for format and limit errors. - returns only `text/html` for some quota limit errors. #### InfluxDB OSS - returns only `application/json` for format and limit errors. For more information about write errors, see how to [troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.1/write-data/troubleshoot/). - :param str org_id: ID of the destination organization for writes. If both `orgID` and `org` are specified, `org` takes precedence. - :param WritePrecision precision: Precision for unix timestamps in the line protocol of the request payload. + :param str content_encoding: The compression applied to the line protocol in the request payload. To send a GZIP payload, pass `Content-Encoding: gzip` header. + :param str content_type: The format of the data in the request body. To send a line protocol payload, pass `Content-Type: text/plain; charset=utf-8`. + :param int content_length: The size of the entity-body, in bytes, sent to InfluxDB. If the length is greater than the `max body` configuration option, the server responds with status code `413`. + :param str accept: The content type that the client can understand. Writes only return a response body if they fail--for example, due to a formatting problem or quota limit. #### InfluxDB Cloud - Returns only `application/json` for format and limit errors. - Returns only `text/html` for some quota limit errors. #### InfluxDB OSS - Returns only `application/json` for format and limit errors. #### Related guides - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.2/write-data/troubleshoot/). + :param str org_id: The ID of the destination organization for writes. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Writes to the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. - InfluxDB writes all points in the batch to this organization. + :param WritePrecision precision: The precision for unix timestamps in the line protocol batch. :return: None If the method is called asynchronously, returns the request thread. @@ -109,20 +109,20 @@ def post_write_with_http_info(self, org, bucket, body, **kwargs): # noqa: E501, async def post_write_async(self, org, bucket, body, **kwargs): # noqa: E501,D401,D403 """Write data. - Writes data to a bucket. To write data into InfluxDB, you need the following: - **organization name or ID** – _See [View organizations](https://docs.influxdata.com/influxdb/v2.1/organizations/view-orgs/#view-your-organization-id) for instructions on viewing your organization ID._ - **bucket** – _See [View buckets](https://docs.influxdata.com/influxdb/v2.1/organizations/buckets/view-buckets/) for instructions on viewing your bucket ID._ - **API token** – _See [View tokens](https://docs.influxdata.com/influxdb/v2.1/security/tokens/view-tokens/) for instructions on viewing your API token._ - **InfluxDB URL** – _See [InfluxDB URLs](https://docs.influxdata.com/influxdb/v2.1/reference/urls/)_. - data in [line protocol](https://docs.influxdata.com/influxdb/v2.1/reference/syntax/line-protocol) format. InfluxDB Cloud enforces rate and size limits different from InfluxDB OSS. For details, see Responses. For more information and examples, see the following: - [Write data with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.1/write-data/developer-tools/api). - [Optimize writes to InfluxDB](https://docs.influxdata.com/influxdb/v2.1/write-data/best-practices/optimize-writes/). - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.1/write-data/troubleshoot/) + Writes data to a bucket. Use this endpoint to send data in [line protocol](https://docs.influxdata.com/influxdb/v2.2/reference/syntax/line-protocol/) format to InfluxDB. #### InfluxDB Cloud - Takes the following steps when you send a write request: 1. Validates the request and queues the write. 2. If the write is queued, responds with an HTTP `204` status code. 3. Handles the write asynchronously and reaches eventual consistency. An HTTP `2xx` status code acknowledges that the write or delete is queued. To ensure that InfluxDB Cloud handles writes and deletes in the order you request them, wait for a response before you send the next request. Because writes are asynchronous, data might not yet be written when you receive the response. #### InfluxDB OSS - Validates the request, handles the write synchronously, and then responds with success or failure. - If all points were written successfully, returns `204`, otherwise returns the first line that failed. #### Required permissions - `write-buckets` or `write-bucket BUCKET_ID`. `BUCKET_ID` is the ID of the destination bucket. #### Rate limits (with InfluxDB Cloud) `write` rate limits apply. For more information, see [limits and adjustable quotas](https://docs.influxdata.com/influxdb/cloud/account-management/limits/). #### Related guides - [Write data with the InfluxDB API](https://docs.influxdata.com/influxdb/v2.2/write-data/developer-tools/api). - [Optimize writes to InfluxDB](https://docs.influxdata.com/influxdb/v2.2/write-data/best-practices/optimize-writes/). - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.2/write-data/troubleshoot/) This method makes an asynchronous HTTP request. :param async_req bool - :param str org: Destination organization for writes. The database writes all points in the batch to this organization. If you provide both `orgID` and `org` parameters, `org` takes precedence. (required) - :param str bucket: Destination bucket for writes. (required) - :param str body: Data in line protocol format. (required) + :param str org: The destination organization for writes. InfluxDB writes all points in the batch to this organization. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Writes to the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. - InfluxDB writes all points in the batch to this organization. (required) + :param str bucket: The destination bucket for writes. InfluxDB writes all points in the batch to this bucket. (required) + :param str body: Data in line protocol format. To send compressed data, do the following: 1. Use [GZIP](https://www.gzip.org/) to compress the line protocol data. 2. In your request, send the compressed data and the `Content-Encoding: gzip` header. #### Related guides - [Best practices for optimizing writes](https://docs.influxdata.com/influxdb/v2.2/write-data/best-practices/optimize-writes/). (required) :param str zap_trace_span: OpenTracing span context - :param str content_encoding: The value tells InfluxDB what compression is applied to the line protocol in the request payload. To make an API request with a GZIP payload, send `Content-Encoding: gzip` as a request header. - :param str content_type: Format of the data in the request body. To make an API request with a line protocol payload, send `Content-Type: text/plain; charset=utf-8` as a request header. - :param int content_length: Size of the entity-body, in bytes, sent to the database. If the length is greater than the database's `max body` configuration option, the server responds with status code `413`. - :param str accept: Content type that the client can understand. Writes only return a response body if they fail, e.g. due to a formatting problem or quota limit. #### InfluxDB Cloud - returns only `application/json` for format and limit errors. - returns only `text/html` for some quota limit errors. #### InfluxDB OSS - returns only `application/json` for format and limit errors. For more information about write errors, see how to [troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.1/write-data/troubleshoot/). - :param str org_id: ID of the destination organization for writes. If both `orgID` and `org` are specified, `org` takes precedence. - :param WritePrecision precision: Precision for unix timestamps in the line protocol of the request payload. + :param str content_encoding: The compression applied to the line protocol in the request payload. To send a GZIP payload, pass `Content-Encoding: gzip` header. + :param str content_type: The format of the data in the request body. To send a line protocol payload, pass `Content-Type: text/plain; charset=utf-8`. + :param int content_length: The size of the entity-body, in bytes, sent to InfluxDB. If the length is greater than the `max body` configuration option, the server responds with status code `413`. + :param str accept: The content type that the client can understand. Writes only return a response body if they fail--for example, due to a formatting problem or quota limit. #### InfluxDB Cloud - Returns only `application/json` for format and limit errors. - Returns only `text/html` for some quota limit errors. #### InfluxDB OSS - Returns only `application/json` for format and limit errors. #### Related guides - [Troubleshoot issues writing data](https://docs.influxdata.com/influxdb/v2.2/write-data/troubleshoot/). + :param str org_id: The ID of the destination organization for writes. If you pass both `orgID` and `org`, they must both be valid. #### InfluxDB Cloud - Doesn't require `org` or `orgID`. - Writes to the bucket in the organization associated with the authorization (API token). #### InfluxDB OSS - Requires either `org` or `orgID`. - InfluxDB writes all points in the batch to this organization. + :param WritePrecision precision: The precision for unix timestamps in the line protocol batch. :return: None If the method is called asynchronously, returns the request thread. diff --git a/setup.py b/setup.py index b6c4b16e..59b28f51 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,6 @@ requires = [ 'rx >= 3.0.1', 'certifi >= 14.05.14', - 'six >= 1.10', 'python_dateutil >= 2.5.3', 'setuptools >= 21.0.0', 'urllib3 >= 1.26.0', pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy