pinecone.core.client.model.describe_index_stats_response

Pinecone API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: version not set Contact: support@pinecone.io Generated by: https://openapi-generator.tech

  1"""
  2    Pinecone API
  3
  4    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501
  5
  6    The version of the OpenAPI document: version not set
  7    Contact: support@pinecone.io
  8    Generated by: https://openapi-generator.tech
  9"""
 10
 11
 12import re  # noqa: F401
 13import sys  # noqa: F401
 14
 15from pinecone.core.client.model_utils import (  # noqa: F401
 16    ApiTypeError,
 17    ModelComposed,
 18    ModelNormal,
 19    ModelSimple,
 20    cached_property,
 21    change_keys_js_to_python,
 22    convert_js_args_to_python_args,
 23    date,
 24    datetime,
 25    file_type,
 26    none_type,
 27    validate_get_composed_info,
 28)
 29from ..model_utils import OpenApiModel
 30from pinecone.core.client.exceptions import ApiAttributeError
 31
 32
 33def lazy_import():
 34    from pinecone.core.client.model.namespace_summary import NamespaceSummary
 35
 36    globals()["NamespaceSummary"] = NamespaceSummary
 37
 38
 39class DescribeIndexStatsResponse(ModelNormal):
 40    """NOTE: This class is auto generated by OpenAPI Generator.
 41    Ref: https://openapi-generator.tech
 42
 43    Do not edit the class manually.
 44
 45    Attributes:
 46      allowed_values (dict): The key is the tuple path to the attribute
 47          and the for var_name this is (var_name,). The value is a dict
 48          with a capitalized key describing the allowed value and an allowed
 49          value. These dicts store the allowed enum values.
 50      attribute_map (dict): The key is attribute name
 51          and the value is json key in definition.
 52      discriminator_value_class_map (dict): A dict to go from the discriminator
 53          variable value to the discriminator class name.
 54      validations (dict): The key is the tuple path to the attribute
 55          and the for var_name this is (var_name,). The value is a dict
 56          that stores validations for max_length, min_length, max_items,
 57          min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
 58          inclusive_minimum, and regex.
 59      additional_properties_type (tuple): A tuple of classes accepted
 60          as additional properties values.
 61    """
 62
 63    allowed_values = {}
 64
 65    validations = {}
 66
 67    @cached_property
 68    def additional_properties_type():
 69        """
 70        This must be a method because a model may have properties that are
 71        of type self, this must run after the class is loaded
 72        """
 73        lazy_import()
 74        return (
 75            bool,
 76            date,
 77            datetime,
 78            dict,
 79            float,
 80            int,
 81            list,
 82            str,
 83            none_type,
 84        )  # noqa: E501
 85
 86    _nullable = False
 87
 88    @cached_property
 89    def openapi_types():
 90        """
 91        This must be a method because a model may have properties that are
 92        of type self, this must run after the class is loaded
 93
 94        Returns
 95            openapi_types (dict): The key is attribute name
 96                and the value is attribute type.
 97        """
 98        lazy_import()
 99        return {
100            "namespaces": ({str: (NamespaceSummary,)},),  # noqa: E501
101            "dimension": (int,),  # noqa: E501
102            "index_fullness": (float,),  # noqa: E501
103            "total_vector_count": (int,),  # noqa: E501
104        }
105
106    @cached_property
107    def discriminator():
108        return None
109
110    attribute_map = {
111        "namespaces": "namespaces",  # noqa: E501
112        "dimension": "dimension",  # noqa: E501
113        "index_fullness": "indexFullness",  # noqa: E501
114        "total_vector_count": "totalVectorCount",  # noqa: E501
115    }
116
117    read_only_vars = {}
118
119    _composed_schemas = {}
120
121    @classmethod
122    @convert_js_args_to_python_args
123    def _from_openapi_data(cls, *args, **kwargs):  # noqa: E501
124        """DescribeIndexStatsResponse - a model defined in OpenAPI
125
126        Keyword Args:
127            _check_type (bool): if True, values for parameters in openapi_types
128                                will be type checked and a TypeError will be
129                                raised if the wrong type is input.
130                                Defaults to True
131            _path_to_item (tuple/list): This is a list of keys or values to
132                                drill down to the model in received_data
133                                when deserializing a response
134            _spec_property_naming (bool): True if the variable names in the input data
135                                are serialized names, as specified in the OpenAPI document.
136                                False if the variable names in the input data
137                                are pythonic names, e.g. snake case (default)
138            _configuration (Configuration): the instance to use when
139                                deserializing a file_type parameter.
140                                If passed, type conversion is attempted
141                                If omitted no type conversion is done.
142            _visited_composed_classes (tuple): This stores a tuple of
143                                classes that we have traveled through so that
144                                if we see that class again we will not use its
145                                discriminator again.
146                                When traveling through a discriminator, the
147                                composed schema that is
148                                is traveled through is added to this set.
149                                For example if Animal has a discriminator
150                                petType and we pass in "Dog", and the class Dog
151                                allOf includes Animal, we move through Animal
152                                once using the discriminator, and pick Dog.
153                                Then in Dog, we will make an instance of the
154                                Animal class but this time we won't travel
155                                through its discriminator because we passed in
156                                _visited_composed_classes = (Animal,)
157            namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.. [optional]  # noqa: E501
158            dimension (int): The dimension of the indexed vectors.. [optional]  # noqa: E501
159            index_fullness (float): The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.. [optional]  # noqa: E501
160            total_vector_count (int): [optional]  # noqa: E501
161        """
162
163        _check_type = kwargs.pop("_check_type", True)
164        _spec_property_naming = kwargs.pop("_spec_property_naming", False)
165        _path_to_item = kwargs.pop("_path_to_item", ())
166        _configuration = kwargs.pop("_configuration", None)
167        _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
168
169        self = super(OpenApiModel, cls).__new__(cls)
170
171        if args:
172            raise ApiTypeError(
173                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
174                % (
175                    args,
176                    self.__class__.__name__,
177                ),
178                path_to_item=_path_to_item,
179                valid_classes=(self.__class__,),
180            )
181
182        self._data_store = {}
183        self._check_type = _check_type
184        self._spec_property_naming = _spec_property_naming
185        self._path_to_item = _path_to_item
186        self._configuration = _configuration
187        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
188
189        for var_name, var_value in kwargs.items():
190            if (
191                var_name not in self.attribute_map
192                and self._configuration is not None
193                and self._configuration.discard_unknown_keys
194                and self.additional_properties_type is None
195            ):
196                # discard variable.
197                continue
198            setattr(self, var_name, var_value)
199        return self
200
201    required_properties = set(
202        [
203            "_data_store",
204            "_check_type",
205            "_spec_property_naming",
206            "_path_to_item",
207            "_configuration",
208            "_visited_composed_classes",
209        ]
210    )
211
212    @convert_js_args_to_python_args
213    def __init__(self, *args, **kwargs):  # noqa: E501
214        """DescribeIndexStatsResponse - a model defined in OpenAPI
215
216        Keyword Args:
217            _check_type (bool): if True, values for parameters in openapi_types
218                                will be type checked and a TypeError will be
219                                raised if the wrong type is input.
220                                Defaults to True
221            _path_to_item (tuple/list): This is a list of keys or values to
222                                drill down to the model in received_data
223                                when deserializing a response
224            _spec_property_naming (bool): True if the variable names in the input data
225                                are serialized names, as specified in the OpenAPI document.
226                                False if the variable names in the input data
227                                are pythonic names, e.g. snake case (default)
228            _configuration (Configuration): the instance to use when
229                                deserializing a file_type parameter.
230                                If passed, type conversion is attempted
231                                If omitted no type conversion is done.
232            _visited_composed_classes (tuple): This stores a tuple of
233                                classes that we have traveled through so that
234                                if we see that class again we will not use its
235                                discriminator again.
236                                When traveling through a discriminator, the
237                                composed schema that is
238                                is traveled through is added to this set.
239                                For example if Animal has a discriminator
240                                petType and we pass in "Dog", and the class Dog
241                                allOf includes Animal, we move through Animal
242                                once using the discriminator, and pick Dog.
243                                Then in Dog, we will make an instance of the
244                                Animal class but this time we won't travel
245                                through its discriminator because we passed in
246                                _visited_composed_classes = (Animal,)
247            namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.. [optional]  # noqa: E501
248            dimension (int): The dimension of the indexed vectors.. [optional]  # noqa: E501
249            index_fullness (float): The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.. [optional]  # noqa: E501
250            total_vector_count (int): [optional]  # noqa: E501
251        """
252
253        _check_type = kwargs.pop("_check_type", True)
254        _spec_property_naming = kwargs.pop("_spec_property_naming", False)
255        _path_to_item = kwargs.pop("_path_to_item", ())
256        _configuration = kwargs.pop("_configuration", None)
257        _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
258
259        if args:
260            raise ApiTypeError(
261                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
262                % (
263                    args,
264                    self.__class__.__name__,
265                ),
266                path_to_item=_path_to_item,
267                valid_classes=(self.__class__,),
268            )
269
270        self._data_store = {}
271        self._check_type = _check_type
272        self._spec_property_naming = _spec_property_naming
273        self._path_to_item = _path_to_item
274        self._configuration = _configuration
275        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
276
277        for var_name, var_value in kwargs.items():
278            if (
279                var_name not in self.attribute_map
280                and self._configuration is not None
281                and self._configuration.discard_unknown_keys
282                and self.additional_properties_type is None
283            ):
284                # discard variable.
285                continue
286            setattr(self, var_name, var_value)
287            if var_name in self.read_only_vars:
288                raise ApiAttributeError(
289                    f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
290                    f"class with read only attributes."
291                )
def lazy_import():
34def lazy_import():
35    from pinecone.core.client.model.namespace_summary import NamespaceSummary
36
37    globals()["NamespaceSummary"] = NamespaceSummary
class DescribeIndexStatsResponse(pinecone.core.client.model_utils.ModelNormal):
 40class DescribeIndexStatsResponse(ModelNormal):
 41    """NOTE: This class is auto generated by OpenAPI Generator.
 42    Ref: https://openapi-generator.tech
 43
 44    Do not edit the class manually.
 45
 46    Attributes:
 47      allowed_values (dict): The key is the tuple path to the attribute
 48          and the for var_name this is (var_name,). The value is a dict
 49          with a capitalized key describing the allowed value and an allowed
 50          value. These dicts store the allowed enum values.
 51      attribute_map (dict): The key is attribute name
 52          and the value is json key in definition.
 53      discriminator_value_class_map (dict): A dict to go from the discriminator
 54          variable value to the discriminator class name.
 55      validations (dict): The key is the tuple path to the attribute
 56          and the for var_name this is (var_name,). The value is a dict
 57          that stores validations for max_length, min_length, max_items,
 58          min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
 59          inclusive_minimum, and regex.
 60      additional_properties_type (tuple): A tuple of classes accepted
 61          as additional properties values.
 62    """
 63
 64    allowed_values = {}
 65
 66    validations = {}
 67
 68    @cached_property
 69    def additional_properties_type():
 70        """
 71        This must be a method because a model may have properties that are
 72        of type self, this must run after the class is loaded
 73        """
 74        lazy_import()
 75        return (
 76            bool,
 77            date,
 78            datetime,
 79            dict,
 80            float,
 81            int,
 82            list,
 83            str,
 84            none_type,
 85        )  # noqa: E501
 86
 87    _nullable = False
 88
 89    @cached_property
 90    def openapi_types():
 91        """
 92        This must be a method because a model may have properties that are
 93        of type self, this must run after the class is loaded
 94
 95        Returns
 96            openapi_types (dict): The key is attribute name
 97                and the value is attribute type.
 98        """
 99        lazy_import()
100        return {
101            "namespaces": ({str: (NamespaceSummary,)},),  # noqa: E501
102            "dimension": (int,),  # noqa: E501
103            "index_fullness": (float,),  # noqa: E501
104            "total_vector_count": (int,),  # noqa: E501
105        }
106
107    @cached_property
108    def discriminator():
109        return None
110
111    attribute_map = {
112        "namespaces": "namespaces",  # noqa: E501
113        "dimension": "dimension",  # noqa: E501
114        "index_fullness": "indexFullness",  # noqa: E501
115        "total_vector_count": "totalVectorCount",  # noqa: E501
116    }
117
118    read_only_vars = {}
119
120    _composed_schemas = {}
121
122    @classmethod
123    @convert_js_args_to_python_args
124    def _from_openapi_data(cls, *args, **kwargs):  # noqa: E501
125        """DescribeIndexStatsResponse - a model defined in OpenAPI
126
127        Keyword Args:
128            _check_type (bool): if True, values for parameters in openapi_types
129                                will be type checked and a TypeError will be
130                                raised if the wrong type is input.
131                                Defaults to True
132            _path_to_item (tuple/list): This is a list of keys or values to
133                                drill down to the model in received_data
134                                when deserializing a response
135            _spec_property_naming (bool): True if the variable names in the input data
136                                are serialized names, as specified in the OpenAPI document.
137                                False if the variable names in the input data
138                                are pythonic names, e.g. snake case (default)
139            _configuration (Configuration): the instance to use when
140                                deserializing a file_type parameter.
141                                If passed, type conversion is attempted
142                                If omitted no type conversion is done.
143            _visited_composed_classes (tuple): This stores a tuple of
144                                classes that we have traveled through so that
145                                if we see that class again we will not use its
146                                discriminator again.
147                                When traveling through a discriminator, the
148                                composed schema that is
149                                is traveled through is added to this set.
150                                For example if Animal has a discriminator
151                                petType and we pass in "Dog", and the class Dog
152                                allOf includes Animal, we move through Animal
153                                once using the discriminator, and pick Dog.
154                                Then in Dog, we will make an instance of the
155                                Animal class but this time we won't travel
156                                through its discriminator because we passed in
157                                _visited_composed_classes = (Animal,)
158            namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.. [optional]  # noqa: E501
159            dimension (int): The dimension of the indexed vectors.. [optional]  # noqa: E501
160            index_fullness (float): The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.. [optional]  # noqa: E501
161            total_vector_count (int): [optional]  # noqa: E501
162        """
163
164        _check_type = kwargs.pop("_check_type", True)
165        _spec_property_naming = kwargs.pop("_spec_property_naming", False)
166        _path_to_item = kwargs.pop("_path_to_item", ())
167        _configuration = kwargs.pop("_configuration", None)
168        _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
169
170        self = super(OpenApiModel, cls).__new__(cls)
171
172        if args:
173            raise ApiTypeError(
174                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
175                % (
176                    args,
177                    self.__class__.__name__,
178                ),
179                path_to_item=_path_to_item,
180                valid_classes=(self.__class__,),
181            )
182
183        self._data_store = {}
184        self._check_type = _check_type
185        self._spec_property_naming = _spec_property_naming
186        self._path_to_item = _path_to_item
187        self._configuration = _configuration
188        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
189
190        for var_name, var_value in kwargs.items():
191            if (
192                var_name not in self.attribute_map
193                and self._configuration is not None
194                and self._configuration.discard_unknown_keys
195                and self.additional_properties_type is None
196            ):
197                # discard variable.
198                continue
199            setattr(self, var_name, var_value)
200        return self
201
202    required_properties = set(
203        [
204            "_data_store",
205            "_check_type",
206            "_spec_property_naming",
207            "_path_to_item",
208            "_configuration",
209            "_visited_composed_classes",
210        ]
211    )
212
213    @convert_js_args_to_python_args
214    def __init__(self, *args, **kwargs):  # noqa: E501
215        """DescribeIndexStatsResponse - a model defined in OpenAPI
216
217        Keyword Args:
218            _check_type (bool): if True, values for parameters in openapi_types
219                                will be type checked and a TypeError will be
220                                raised if the wrong type is input.
221                                Defaults to True
222            _path_to_item (tuple/list): This is a list of keys or values to
223                                drill down to the model in received_data
224                                when deserializing a response
225            _spec_property_naming (bool): True if the variable names in the input data
226                                are serialized names, as specified in the OpenAPI document.
227                                False if the variable names in the input data
228                                are pythonic names, e.g. snake case (default)
229            _configuration (Configuration): the instance to use when
230                                deserializing a file_type parameter.
231                                If passed, type conversion is attempted
232                                If omitted no type conversion is done.
233            _visited_composed_classes (tuple): This stores a tuple of
234                                classes that we have traveled through so that
235                                if we see that class again we will not use its
236                                discriminator again.
237                                When traveling through a discriminator, the
238                                composed schema that is
239                                is traveled through is added to this set.
240                                For example if Animal has a discriminator
241                                petType and we pass in "Dog", and the class Dog
242                                allOf includes Animal, we move through Animal
243                                once using the discriminator, and pick Dog.
244                                Then in Dog, we will make an instance of the
245                                Animal class but this time we won't travel
246                                through its discriminator because we passed in
247                                _visited_composed_classes = (Animal,)
248            namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.. [optional]  # noqa: E501
249            dimension (int): The dimension of the indexed vectors.. [optional]  # noqa: E501
250            index_fullness (float): The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.. [optional]  # noqa: E501
251            total_vector_count (int): [optional]  # noqa: E501
252        """
253
254        _check_type = kwargs.pop("_check_type", True)
255        _spec_property_naming = kwargs.pop("_spec_property_naming", False)
256        _path_to_item = kwargs.pop("_path_to_item", ())
257        _configuration = kwargs.pop("_configuration", None)
258        _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
259
260        if args:
261            raise ApiTypeError(
262                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
263                % (
264                    args,
265                    self.__class__.__name__,
266                ),
267                path_to_item=_path_to_item,
268                valid_classes=(self.__class__,),
269            )
270
271        self._data_store = {}
272        self._check_type = _check_type
273        self._spec_property_naming = _spec_property_naming
274        self._path_to_item = _path_to_item
275        self._configuration = _configuration
276        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
277
278        for var_name, var_value in kwargs.items():
279            if (
280                var_name not in self.attribute_map
281                and self._configuration is not None
282                and self._configuration.discard_unknown_keys
283                and self.additional_properties_type is None
284            ):
285                # discard variable.
286                continue
287            setattr(self, var_name, var_value)
288            if var_name in self.read_only_vars:
289                raise ApiAttributeError(
290                    f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
291                    f"class with read only attributes."
292                )

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

Attributes:
  • allowed_values (dict): The key is the tuple path to the attribute and the for var_name this is (var_name,). The value is a dict with a capitalized key describing the allowed value and an allowed value. These dicts store the allowed enum values.
  • attribute_map (dict): The key is attribute name and the value is json key in definition.
  • discriminator_value_class_map (dict): A dict to go from the discriminator variable value to the discriminator class name.
  • validations (dict): The key is the tuple path to the attribute and the for var_name this is (var_name,). The value is a dict that stores validations for max_length, min_length, max_items, min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, inclusive_minimum, and regex.
  • additional_properties_type (tuple): A tuple of classes accepted as additional properties values.
@convert_js_args_to_python_args
DescribeIndexStatsResponse(*args, **kwargs)
213    @convert_js_args_to_python_args
214    def __init__(self, *args, **kwargs):  # noqa: E501
215        """DescribeIndexStatsResponse - a model defined in OpenAPI
216
217        Keyword Args:
218            _check_type (bool): if True, values for parameters in openapi_types
219                                will be type checked and a TypeError will be
220                                raised if the wrong type is input.
221                                Defaults to True
222            _path_to_item (tuple/list): This is a list of keys or values to
223                                drill down to the model in received_data
224                                when deserializing a response
225            _spec_property_naming (bool): True if the variable names in the input data
226                                are serialized names, as specified in the OpenAPI document.
227                                False if the variable names in the input data
228                                are pythonic names, e.g. snake case (default)
229            _configuration (Configuration): the instance to use when
230                                deserializing a file_type parameter.
231                                If passed, type conversion is attempted
232                                If omitted no type conversion is done.
233            _visited_composed_classes (tuple): This stores a tuple of
234                                classes that we have traveled through so that
235                                if we see that class again we will not use its
236                                discriminator again.
237                                When traveling through a discriminator, the
238                                composed schema that is
239                                is traveled through is added to this set.
240                                For example if Animal has a discriminator
241                                petType and we pass in "Dog", and the class Dog
242                                allOf includes Animal, we move through Animal
243                                once using the discriminator, and pick Dog.
244                                Then in Dog, we will make an instance of the
245                                Animal class but this time we won't travel
246                                through its discriminator because we passed in
247                                _visited_composed_classes = (Animal,)
248            namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.. [optional]  # noqa: E501
249            dimension (int): The dimension of the indexed vectors.. [optional]  # noqa: E501
250            index_fullness (float): The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.. [optional]  # noqa: E501
251            total_vector_count (int): [optional]  # noqa: E501
252        """
253
254        _check_type = kwargs.pop("_check_type", True)
255        _spec_property_naming = kwargs.pop("_spec_property_naming", False)
256        _path_to_item = kwargs.pop("_path_to_item", ())
257        _configuration = kwargs.pop("_configuration", None)
258        _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
259
260        if args:
261            raise ApiTypeError(
262                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
263                % (
264                    args,
265                    self.__class__.__name__,
266                ),
267                path_to_item=_path_to_item,
268                valid_classes=(self.__class__,),
269            )
270
271        self._data_store = {}
272        self._check_type = _check_type
273        self._spec_property_naming = _spec_property_naming
274        self._path_to_item = _path_to_item
275        self._configuration = _configuration
276        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
277
278        for var_name, var_value in kwargs.items():
279            if (
280                var_name not in self.attribute_map
281                and self._configuration is not None
282                and self._configuration.discard_unknown_keys
283                and self.additional_properties_type is None
284            ):
285                # discard variable.
286                continue
287            setattr(self, var_name, var_value)
288            if var_name in self.read_only_vars:
289                raise ApiAttributeError(
290                    f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
291                    f"class with read only attributes."
292                )

DescribeIndexStatsResponse - a model defined in OpenAPI

Keyword Args:

_check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. Defaults to True _path_to_item (tuple/list): This is a list of keys or values to drill down to the model in received_data when deserializing a response _spec_property_naming (bool): True if the variable names in the input data are serialized names, as specified in the OpenAPI document. False if the variable names in the input data are pythonic names, e.g. snake case (default) _configuration (Configuration): the instance to use when deserializing a file_type parameter. If passed, type conversion is attempted If omitted no type conversion is done. _visited_composed_classes (tuple): This stores a tuple of classes that we have traveled through so that if we see that class again we will not use its discriminator again. When traveling through a discriminator, the composed schema that is is traveled through is added to this set. For example if Animal has a discriminator petType and we pass in "Dog", and the class Dog allOf includes Animal, we move through Animal once using the discriminator, and pick Dog. Then in Dog, we will make an instance of the Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) namespaces ({str: (NamespaceSummary,)}): A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.. [optional] # noqa: E501 dimension (int): The dimension of the indexed vectors.. [optional] # noqa: E501 index_fullness (float): The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.. [optional] # noqa: E501 total_vector_count (int): [optional] # noqa: E501

allowed_values = {}
validations = {}
def additional_properties_type(unknown):

This must be a method because a model may have properties that are of type self, this must run after the class is loaded

def openapi_types(unknown):

This must be a method because a model may have properties that are of type self, this must run after the class is loaded

Returns openapi_types (dict): The key is attribute name and the value is attribute type.

def discriminator(unknown):
attribute_map = {'namespaces': 'namespaces', 'dimension': 'dimension', 'index_fullness': 'indexFullness', 'total_vector_count': 'totalVectorCount'}
read_only_vars = {}
required_properties = {'_spec_property_naming', '_data_store', '_check_type', '_visited_composed_classes', '_configuration', '_path_to_item'}