pinecone.core.client.model.delete_request

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

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
DeleteRequest(*args, **kwargs)
207    @convert_js_args_to_python_args
208    def __init__(self, *args, **kwargs):  # noqa: E501
209        """DeleteRequest - a model defined in OpenAPI
210
211        Keyword Args:
212            _check_type (bool): if True, values for parameters in openapi_types
213                                will be type checked and a TypeError will be
214                                raised if the wrong type is input.
215                                Defaults to True
216            _path_to_item (tuple/list): This is a list of keys or values to
217                                drill down to the model in received_data
218                                when deserializing a response
219            _spec_property_naming (bool): True if the variable names in the input data
220                                are serialized names, as specified in the OpenAPI document.
221                                False if the variable names in the input data
222                                are pythonic names, e.g. snake case (default)
223            _configuration (Configuration): the instance to use when
224                                deserializing a file_type parameter.
225                                If passed, type conversion is attempted
226                                If omitted no type conversion is done.
227            _visited_composed_classes (tuple): This stores a tuple of
228                                classes that we have traveled through so that
229                                if we see that class again we will not use its
230                                discriminator again.
231                                When traveling through a discriminator, the
232                                composed schema that is
233                                is traveled through is added to this set.
234                                For example if Animal has a discriminator
235                                petType and we pass in "Dog", and the class Dog
236                                allOf includes Animal, we move through Animal
237                                once using the discriminator, and pick Dog.
238                                Then in Dog, we will make an instance of the
239                                Animal class but this time we won't travel
240                                through its discriminator because we passed in
241                                _visited_composed_classes = (Animal,)
242            ids ([str]): Vectors to delete.. [optional]  # noqa: E501
243            delete_all (bool): This indicates that all vectors in the index namespace should be deleted.. [optional] if omitted the server will use the default value of False  # noqa: E501
244            namespace (str): The namespace to delete vectors from, if applicable.. [optional]  # noqa: E501
245            filter ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive with specifying ids to delete in the ids param or using delete_all=True. See https://www.pinecone.io/docs/metadata-filtering/.. [optional]  # noqa: E501
246        """
247
248        _check_type = kwargs.pop("_check_type", True)
249        _spec_property_naming = kwargs.pop("_spec_property_naming", False)
250        _path_to_item = kwargs.pop("_path_to_item", ())
251        _configuration = kwargs.pop("_configuration", None)
252        _visited_composed_classes = kwargs.pop("_visited_composed_classes", ())
253
254        if args:
255            raise ApiTypeError(
256                "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments."
257                % (
258                    args,
259                    self.__class__.__name__,
260                ),
261                path_to_item=_path_to_item,
262                valid_classes=(self.__class__,),
263            )
264
265        self._data_store = {}
266        self._check_type = _check_type
267        self._spec_property_naming = _spec_property_naming
268        self._path_to_item = _path_to_item
269        self._configuration = _configuration
270        self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
271
272        for var_name, var_value in kwargs.items():
273            if (
274                var_name not in self.attribute_map
275                and self._configuration is not None
276                and self._configuration.discard_unknown_keys
277                and self.additional_properties_type is None
278            ):
279                # discard variable.
280                continue
281            setattr(self, var_name, var_value)
282            if var_name in self.read_only_vars:
283                raise ApiAttributeError(
284                    f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
285                    f"class with read only attributes."
286                )

DeleteRequest - 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,) ids ([str]): Vectors to delete.. [optional] # noqa: E501 delete_all (bool): This indicates that all vectors in the index namespace should be deleted.. [optional] if omitted the server will use the default value of False # noqa: E501 namespace (str): The namespace to delete vectors from, if applicable.. [optional] # noqa: E501 filter ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): If specified, the metadata filter here will be used to select the vectors to delete. This is mutually exclusive with specifying ids to delete in the ids param or using delete_all=True. See https://www.pinecone.io/docs/metadata-filtering/.. [optional] # noqa: E501

allowed_values = {}
validations = {('ids',): {}}
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 = {'ids': 'ids', 'delete_all': 'deleteAll', 'namespace': 'namespace', 'filter': 'filter'}
read_only_vars = {}
required_properties = {'_spec_property_naming', '_data_store', '_check_type', '_visited_composed_classes', '_configuration', '_path_to_item'}