Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-azure-mgmt-pineconevectordb for openSUSE:Factory checked in at 2025-04-02 18:53:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-mgmt-pineconevectordb (Old) and /work/SRC/openSUSE:Factory/.python-azure-mgmt-pineconevectordb.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-mgmt-pineconevectordb" Wed Apr 2 18:53:17 2025 rev:2 rq:1266094 version:1.0.0~b2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-mgmt-pineconevectordb/python-azure-mgmt-pineconevectordb.changes 2025-02-10 18:24:50.514197156 +0100 +++ /work/SRC/openSUSE:Factory/.python-azure-mgmt-pineconevectordb.new.1907/python-azure-mgmt-pineconevectordb.changes 2025-04-02 18:53:32.397124393 +0200 @@ -1,0 +2,8 @@ +Tue Apr 1 06:02:38 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- New upstream release + + Version 1.0.0b2 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- Old: ---- azure_mgmt_pineconevectordb-1.0.0b1.tar.gz New: ---- azure_mgmt_pineconevectordb-1.0.0b2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-mgmt-pineconevectordb.spec ++++++ --- /var/tmp/diff_new_pack.XPNRWE/_old 2025-04-02 18:53:33.181157337 +0200 +++ /var/tmp/diff_new_pack.XPNRWE/_new 2025-04-02 18:53:33.181157337 +0200 @@ -16,11 +16,11 @@ # -%define realversion 1.0.0b1 +%define realversion 1.0.0b2 %{?sle15_python_module_pythons} Name: python-azure-mgmt-pineconevectordb -Version: 1.0.0~b1 +Version: 1.0.0~b2 Release: 0 Summary: Microsoft Azure Pineconevectordb Management Client Library for Python License: MIT @@ -36,10 +36,10 @@ BuildRequires: python-rpm-macros Requires: python-azure-mgmt-nspkg >= 3.0.0 Requires: python-azure-nspkg >= 3.0.0 +Requires: python-typing_extensions >= 4.6.0 Requires: (python-azure-common >= 1.1 with python-azure-common < 2.0.0) Requires: (python-azure-mgmt-core >= 1.3.2 with python-azure-mgmt-core < 2.0.0) Requires: (python-isodate >= 0.6.1 with python-isodate < 1.0.0) -Requires: python-typing_extensions >= 4.6.0 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch ++++++ azure_mgmt_pineconevectordb-1.0.0b1.tar.gz -> azure_mgmt_pineconevectordb-1.0.0b2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/CHANGELOG.md new/azure_mgmt_pineconevectordb-1.0.0b2/CHANGELOG.md --- old/azure_mgmt_pineconevectordb-1.0.0b1/CHANGELOG.md 2025-02-06 04:39:35.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/CHANGELOG.md 2025-03-24 03:54:20.000000000 +0100 @@ -1,5 +1,14 @@ # Release History +## 1.0.0b2 (2025-03-20) + +### Features Added + + - Parameter `subscription_id` of model `MarketplaceDetails` is now optional + - Parameter `first_name` of model `UserDetails` is now optional + - Parameter `last_name` of model `UserDetails` is now optional + - Parameter `email_address` of model `UserDetails` is now optional + ## 1.0.0b1 (2025-02-06) ### Other Changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/PKG-INFO new/azure_mgmt_pineconevectordb-1.0.0b2/PKG-INFO --- old/azure_mgmt_pineconevectordb-1.0.0b1/PKG-INFO 2025-02-06 04:41:42.031088000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/PKG-INFO 2025-03-24 03:56:41.006465400 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-mgmt-pineconevectordb -Version: 1.0.0b1 +Version: 1.0.0b2 Summary: Microsoft Azure Pineconevectordb Management Client Library for Python Home-page: https://github.com/Azure/azure-sdk-for-python Author: Microsoft Corporation @@ -90,6 +90,15 @@ # Release History +## 1.0.0b2 (2025-03-20) + +### Features Added + + - Parameter `subscription_id` of model `MarketplaceDetails` is now optional + - Parameter `first_name` of model `UserDetails` is now optional + - Parameter `last_name` of model `UserDetails` is now optional + - Parameter `email_address` of model `UserDetails` is now optional + ## 1.0.0b1 (2025-02-06) ### Other Changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/_meta.json new/azure_mgmt_pineconevectordb-1.0.0b2/_meta.json --- old/azure_mgmt_pineconevectordb-1.0.0b1/_meta.json 2025-02-06 04:39:35.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/_meta.json 2025-03-24 03:54:20.000000000 +0100 @@ -1,6 +1,6 @@ { - "commit": "5f84fd4cb51170b038e4f3987970ed1aecc55ab2", + "commit": "70eec0726034ed22734168f3cd3d2b641dbc5723", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/liftrpinecone/Pinecone.VectorDb.Management", - "@azure-tools/typespec-python": "0.38.1" + "@azure-tools/typespec-python": "0.39.1" } \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/_model_base.py new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/_model_base.py --- old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/_model_base.py 2025-02-06 04:39:35.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/_model_base.py 2025-03-24 03:54:20.000000000 +0100 @@ -373,15 +373,34 @@ return not self.__eq__(other) def keys(self) -> typing.KeysView[str]: + """ + :returns: a set-like object providing a view on D's keys + :rtype: ~typing.KeysView + """ return self._data.keys() def values(self) -> typing.ValuesView[typing.Any]: + """ + :returns: an object providing a view on D's values + :rtype: ~typing.ValuesView + """ return self._data.values() def items(self) -> typing.ItemsView[str, typing.Any]: + """ + :returns: set-like object providing a view on D's items + :rtype: ~typing.ItemsView + """ return self._data.items() def get(self, key: str, default: typing.Any = None) -> typing.Any: + """ + Get the value for key if key is in the dictionary, else default. + :param str key: The key to look up. + :param any default: The value to return if key is not in the dictionary. Defaults to None + :returns: D[k] if k in D, else d. + :rtype: any + """ try: return self[key] except KeyError: @@ -397,17 +416,38 @@ def pop(self, key: str, default: typing.Any) -> typing.Any: ... def pop(self, key: str, default: typing.Any = _UNSET) -> typing.Any: + """ + Removes specified key and return the corresponding value. + :param str key: The key to pop. + :param any default: The value to return if key is not in the dictionary + :returns: The value corresponding to the key. + :rtype: any + :raises KeyError: If key is not found and default is not given. + """ if default is _UNSET: return self._data.pop(key) return self._data.pop(key, default) def popitem(self) -> typing.Tuple[str, typing.Any]: + """ + Removes and returns some (key, value) pair + :returns: The (key, value) pair. + :rtype: tuple + :raises KeyError: if D is empty. + """ return self._data.popitem() def clear(self) -> None: + """ + Remove all items from D. + """ self._data.clear() def update(self, *args: typing.Any, **kwargs: typing.Any) -> None: + """ + Updates D from mapping/iterable E and F. + :param any args: Either a mapping object or an iterable of key-value pairs. + """ self._data.update(*args, **kwargs) @typing.overload @@ -417,6 +457,13 @@ def setdefault(self, key: str, default: typing.Any) -> typing.Any: ... def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any: + """ + Same as calling D.get(k, d), and setting D[k]=d if k not found + :param str key: The key to look up. + :param any default: The value to set if key is not in the dictionary + :returns: D[k] if k in D, else d. + :rtype: any + """ if default is _UNSET: return self._data.setdefault(key) return self._data.setdefault(key, default) @@ -906,6 +953,19 @@ except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True + ) + return None + + +def _failsafe_deserialize_xml( + deserializer: typing.Any, + value: typing.Any, +) -> typing.Any: + try: + return _deserialize_xml(deserializer, value) + except DeserializationError: + _LOGGER.warning( + "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True ) return None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/_serialization.py new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/_serialization.py --- old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/_serialization.py 2025-02-06 04:39:35.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/_serialization.py 2025-03-24 03:54:20.000000000 +0100 @@ -1,4 +1,4 @@ -# pylint: disable=too-many-lines +# pylint: disable=line-too-long,useless-suppression,too-many-lines # -------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. @@ -48,9 +48,7 @@ IO, Mapping, Callable, - TypeVar, MutableMapping, - Type, List, ) @@ -61,13 +59,13 @@ import xml.etree.ElementTree as ET import isodate # type: ignore +from typing_extensions import Self from azure.core.exceptions import DeserializationError, SerializationError from azure.core.serialization import NULL as CoreNull _BOM = codecs.BOM_UTF8.decode(encoding="utf-8") -ModelType = TypeVar("ModelType", bound="Model") JSON = MutableMapping[str, Any] @@ -384,25 +382,25 @@ return client_models @classmethod - def deserialize(cls: Type[ModelType], data: Any, content_type: Optional[str] = None) -> ModelType: + def deserialize(cls, data: Any, content_type: Optional[str] = None) -> Self: """Parse a str using the RestAPI syntax and return a model. :param str data: A str using RestAPI structure. JSON by default. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong - :rtype: ModelType + :raises DeserializationError: if something went wrong + :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) return deserializer(cls.__name__, data, content_type=content_type) # type: ignore @classmethod def from_dict( - cls: Type[ModelType], + cls, data: Any, key_extractors: Optional[Callable[[str, Dict[str, Any], Any], Any]] = None, content_type: Optional[str] = None, - ) -> ModelType: + ) -> Self: """Parse a dict using given key extractor return a model. By default consider key @@ -413,8 +411,8 @@ :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong - :rtype: ModelType + :raises DeserializationError: if something went wrong + :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) deserializer.key_extractors = ( # type: ignore @@ -560,7 +558,7 @@ :param object target_obj: The data to be serialized. :param str data_type: The type to be serialized from. :rtype: str, dict - :raises: SerializationError if serialization fails. + :raises SerializationError: if serialization fails. :returns: The serialized data. """ key_transformer = kwargs.get("key_transformer", self.key_transformer) @@ -670,8 +668,8 @@ :param object data: The data to be serialized. :param str data_type: The type to be serialized from. :rtype: dict - :raises: SerializationError if serialization fails. - :raises: ValueError if data is None + :raises SerializationError: if serialization fails. + :raises ValueError: if data is None :returns: The serialized request body """ @@ -715,8 +713,8 @@ :param str data_type: The type to be serialized from. :rtype: str :returns: The serialized URL path - :raises: TypeError if serialization fails. - :raises: ValueError if data is None + :raises TypeError: if serialization fails. + :raises ValueError: if data is None """ try: output = self.serialize_data(data, data_type, **kwargs) @@ -739,8 +737,8 @@ :param object data: The data to be serialized. :param str data_type: The type to be serialized from. :rtype: str, list - :raises: TypeError if serialization fails. - :raises: ValueError if data is None + :raises TypeError: if serialization fails. + :raises ValueError: if data is None :returns: The serialized query parameter """ try: @@ -769,8 +767,8 @@ :param object data: The data to be serialized. :param str data_type: The type to be serialized from. :rtype: str - :raises: TypeError if serialization fails. - :raises: ValueError if data is None + :raises TypeError: if serialization fails. + :raises ValueError: if data is None :returns: The serialized header """ try: @@ -789,9 +787,9 @@ :param object data: The data to be serialized. :param str data_type: The type to be serialized from. - :raises: AttributeError if required data is None. - :raises: ValueError if data is None - :raises: SerializationError if serialization fails. + :raises AttributeError: if required data is None. + :raises ValueError: if data is None + :raises SerializationError: if serialization fails. :returns: The serialized data. :rtype: str, int, float, bool, dict, list """ @@ -1126,7 +1124,7 @@ :param Datetime attr: Object to be serialized. :rtype: str - :raises: TypeError if format invalid. + :raises TypeError: if format invalid. :return: serialized rfc """ try: @@ -1152,7 +1150,7 @@ :param Datetime attr: Object to be serialized. :rtype: str - :raises: SerializationError if format invalid. + :raises SerializationError: if format invalid. :return: serialized iso """ if isinstance(attr, str): @@ -1185,7 +1183,7 @@ :param Datetime attr: Object to be serialized. :rtype: int - :raises: SerializationError if format invalid + :raises SerializationError: if format invalid :return: serialied unix """ if isinstance(attr, int): @@ -1363,7 +1361,7 @@ # Iter and wrapped, should have found one node only (the wrap one) if len(children) != 1: raise DeserializationError( - "Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format( # pylint: disable=line-too-long + "Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format( xml_name ) ) @@ -1422,7 +1420,7 @@ :param str target_obj: Target data type to deserialize to. :param requests.Response response_data: REST response object. :param str content_type: Swagger "produces" if available. - :raises: DeserializationError if deserialization fails. + :raises DeserializationError: if deserialization fails. :return: Deserialized object. :rtype: object """ @@ -1436,7 +1434,7 @@ :param str target_obj: Target data type to deserialize to. :param object data: Object to deserialize. - :raises: DeserializationError if deserialization fails. + :raises DeserializationError: if deserialization fails. :return: Deserialized object. :rtype: object """ @@ -1651,7 +1649,7 @@ :param str data: The response string to be deserialized. :param str data_type: The type to deserialize to. - :raises: DeserializationError if deserialization fails. + :raises DeserializationError: if deserialization fails. :return: Deserialized object. :rtype: object """ @@ -1733,7 +1731,7 @@ :param dict attr: Dictionary to be deserialized. :return: Deserialized object. :rtype: dict - :raises: TypeError if non-builtin datatype encountered. + :raises TypeError: if non-builtin datatype encountered. """ if attr is None: return None @@ -1779,7 +1777,7 @@ :param str data_type: deserialization data type. :return: Deserialized basic type. :rtype: str, int, float or bool - :raises: TypeError if string format is not valid. + :raises TypeError: if string format is not valid. """ # If we're here, data is supposed to be a basic type. # If it's still an XML node, take the text @@ -1870,7 +1868,7 @@ :param str attr: response string to be deserialized. :return: Deserialized bytearray :rtype: bytearray - :raises: TypeError if string format invalid. + :raises TypeError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -1883,7 +1881,7 @@ :param str attr: response string to be deserialized. :return: Deserialized base64 string :rtype: bytearray - :raises: TypeError if string format invalid. + :raises TypeError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -1898,7 +1896,7 @@ :param str attr: response string to be deserialized. :return: Deserialized decimal - :raises: DeserializationError if string format invalid. + :raises DeserializationError: if string format invalid. :rtype: decimal """ if isinstance(attr, ET.Element): @@ -1916,7 +1914,7 @@ :param str attr: response string to be deserialized. :return: Deserialized int :rtype: long or int - :raises: ValueError if string format invalid. + :raises ValueError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -1929,7 +1927,7 @@ :param str attr: response string to be deserialized. :return: Deserialized duration :rtype: TimeDelta - :raises: DeserializationError if string format invalid. + :raises DeserializationError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -1947,7 +1945,7 @@ :param str attr: response string to be deserialized. :return: Deserialized date :rtype: Date - :raises: DeserializationError if string format invalid. + :raises DeserializationError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -1963,7 +1961,7 @@ :param str attr: response string to be deserialized. :return: Deserialized time :rtype: datetime.time - :raises: DeserializationError if string format invalid. + :raises DeserializationError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -1978,7 +1976,7 @@ :param str attr: response string to be deserialized. :return: Deserialized RFC datetime :rtype: Datetime - :raises: DeserializationError if string format invalid. + :raises DeserializationError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -2001,7 +1999,7 @@ :param str attr: response string to be deserialized. :return: Deserialized ISO datetime :rtype: Datetime - :raises: DeserializationError if string format invalid. + :raises DeserializationError: if string format invalid. """ if isinstance(attr, ET.Element): attr = attr.text @@ -2039,7 +2037,7 @@ :param int attr: Object to be serialized. :return: Deserialized datetime :rtype: Datetime - :raises: DeserializationError if format invalid + :raises DeserializationError: if format invalid """ if isinstance(attr, ET.Element): attr = int(attr.text) # type: ignore diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/_version.py new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/_version.py --- old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/_version.py 2025-02-06 04:39:35.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/_version.py 2025-03-24 03:54:20.000000000 +0100 @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b1" +VERSION = "1.0.0b2" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/models/_models.py new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/models/_models.py --- old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/models/_models.py 2025-02-06 04:39:35.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/models/_models.py 2025-03-24 03:54:20.000000000 +0100 @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -20,8 +21,6 @@ class ErrorAdditionalInfo(_model_base.Model): """The resource management error additional info. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. @@ -37,8 +36,6 @@ class ErrorDetail(_model_base.Model): """The error detail. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar code: The error code. :vartype code: str :ivar message: The error message. @@ -73,7 +70,7 @@ :vartype error: ~azure.mgmt.pineconevectordb.models.ErrorDetail """ - error: Optional["_models.ErrorDetail"] = rest_field() + error: Optional["_models.ErrorDetail"] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """The error object.""" @overload @@ -97,9 +94,6 @@ class ManagedServiceIdentity(_model_base.Model): """Managed service identity (system assigned and/or user assigned identities). - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. :vartype principal_id: str @@ -120,11 +114,13 @@ tenant_id: Optional[str] = rest_field(name="tenantId", visibility=["read"]) """The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.""" - type: Union[str, "_models.ManagedServiceIdentityType"] = rest_field() + type: Union[str, "_models.ManagedServiceIdentityType"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) """The type of managed identity assigned to this resource. Required. Known values are: \"None\", \"SystemAssigned\", \"UserAssigned\", and \"SystemAssigned,UserAssigned\".""" user_assigned_identities: Optional[Dict[str, "_models.UserAssignedIdentity"]] = rest_field( - name="userAssignedIdentities" + name="userAssignedIdentities", visibility=["read", "create", "update", "delete", "query"] ) """The identities assigned to this resource by the user.""" @@ -150,11 +146,7 @@ class MarketplaceDetails(_model_base.Model): """Marketplace details for an organization. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar subscription_id: Azure subscription id for the the marketplace offer is purchased from. - Required. :vartype subscription_id: str :ivar subscription_status: Marketplace subscription status. Known values are: "PendingFulfillmentStart", "Subscribed", "Suspended", and "Unsubscribed". @@ -164,22 +156,26 @@ :vartype offer_details: ~azure.mgmt.pineconevectordb.models.OfferDetails """ - subscription_id: str = rest_field(name="subscriptionId") - """Azure subscription id for the the marketplace offer is purchased from. Required.""" + subscription_id: Optional[str] = rest_field( + name="subscriptionId", visibility=["read", "create", "update", "delete", "query"] + ) + """Azure subscription id for the the marketplace offer is purchased from.""" subscription_status: Optional[Union[str, "_models.MarketplaceSubscriptionStatus"]] = rest_field( name="subscriptionStatus", visibility=["read"] ) """Marketplace subscription status. Known values are: \"PendingFulfillmentStart\", \"Subscribed\", \"Suspended\", and \"Unsubscribed\".""" - offer_details: "_models.OfferDetails" = rest_field(name="offerDetails") + offer_details: "_models.OfferDetails" = rest_field( + name="offerDetails", visibility=["read", "create", "update", "delete", "query"] + ) """Offer details for the marketplace that is selected by the user. Required.""" @overload def __init__( self, *, - subscription_id: str, offer_details: "_models.OfferDetails", + subscription_id: Optional[str] = None, ) -> None: ... @overload @@ -196,7 +192,6 @@ class OfferDetails(_model_base.Model): """Offer details for the marketplace that is selected by the user. - :ivar publisher_id: Publisher Id for the marketplace offer. Required. :vartype publisher_id: str :ivar offer_id: Offer Id for the marketplace offer. Required. @@ -211,17 +206,17 @@ :vartype term_id: str """ - publisher_id: str = rest_field(name="publisherId") + publisher_id: str = rest_field(name="publisherId", visibility=["read", "create", "update", "delete", "query"]) """Publisher Id for the marketplace offer. Required.""" - offer_id: str = rest_field(name="offerId") + offer_id: str = rest_field(name="offerId", visibility=["read", "create", "update", "delete", "query"]) """Offer Id for the marketplace offer. Required.""" - plan_id: str = rest_field(name="planId") + plan_id: str = rest_field(name="planId", visibility=["read", "create", "update", "delete", "query"]) """Plan Id for the marketplace offer. Required.""" - plan_name: Optional[str] = rest_field(name="planName") + plan_name: Optional[str] = rest_field(name="planName", visibility=["read", "create", "update", "delete", "query"]) """Plan Name for the marketplace offer.""" - term_unit: Optional[str] = rest_field(name="termUnit") + term_unit: Optional[str] = rest_field(name="termUnit", visibility=["read", "create", "update", "delete", "query"]) """Plan Display Name for the marketplace offer.""" - term_id: Optional[str] = rest_field(name="termId") + term_id: Optional[str] = rest_field(name="termId", visibility=["read", "create", "update", "delete", "query"]) """Plan Display Name for the marketplace offer.""" @overload @@ -250,8 +245,6 @@ class Operation(_model_base.Model): """Details of a REST API operation, returned from the Resource Provider Operations API. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". :vartype name: str @@ -276,7 +269,9 @@ is_data_action: Optional[bool] = rest_field(name="isDataAction", visibility=["read"]) """Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations.""" - display: Optional["_models.OperationDisplay"] = rest_field() + display: Optional["_models.OperationDisplay"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) """Localized display information for this particular operation.""" origin: Optional[Union[str, "_models.Origin"]] = rest_field(visibility=["read"]) """The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit @@ -307,8 +302,6 @@ class OperationDisplay(_model_base.Model): """Localized display information for and operation. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar provider: The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". :vartype provider: str @@ -340,9 +333,6 @@ class OrganizationProperties(_model_base.Model): """Properties specific to Organization. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar marketplace: Marketplace details of the resource. Required. :vartype marketplace: ~azure.mgmt.pineconevectordb.models.MarketplaceDetails :ivar user: Details of the user. Required. @@ -360,16 +350,20 @@ marketplace: "_models.MarketplaceDetails" = rest_field(visibility=["read", "create", "update"]) """Marketplace details of the resource. Required.""" - user: "_models.UserDetails" = rest_field() + user: "_models.UserDetails" = rest_field(visibility=["read", "create", "update", "delete", "query"]) """Details of the user. Required.""" provisioning_state: Optional[Union[str, "_models.ResourceProvisioningState"]] = rest_field( name="provisioningState", visibility=["read"] ) """Provisioning state of the resource. Known values are: \"Succeeded\", \"Failed\", and \"Canceled\".""" - partner_properties: Optional["_models.PartnerProperties"] = rest_field(name="partnerProperties") + partner_properties: Optional["_models.PartnerProperties"] = rest_field( + name="partnerProperties", visibility=["read", "create", "update", "delete", "query"] + ) """partner properties.""" - single_sign_on_properties: Optional["_models.SingleSignOnPropertiesV2"] = rest_field(name="singleSignOnProperties") + single_sign_on_properties: Optional["_models.SingleSignOnPropertiesV2"] = rest_field( + name="singleSignOnProperties", visibility=["read", "create", "update", "delete", "query"] + ) """Single sign-on properties.""" @overload @@ -396,10 +390,8 @@ class Resource(_model_base.Model): """Common fields that are returned in the response for all Azure Resource Manager resources. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str @@ -413,7 +405,7 @@ id: Optional[str] = rest_field(visibility=["read"]) """Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long""" + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.""" name: Optional[str] = rest_field(visibility=["read"]) """The name of the resource.""" type: Optional[str] = rest_field(visibility=["read"]) @@ -427,11 +419,8 @@ """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str @@ -447,7 +436,7 @@ :vartype location: str """ - tags: Optional[Dict[str, str]] = rest_field() + tags: Optional[Dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """Resource tags.""" location: str = rest_field(visibility=["read", "create"]) """The geo-location where the resource lives. Required.""" @@ -475,11 +464,8 @@ """Concrete tracked resource types can be created by aliasing this type using a specific property type. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str @@ -499,9 +485,13 @@ :vartype identity: ~azure.mgmt.pineconevectordb.models.ManagedServiceIdentity """ - properties: Optional["_models.OrganizationProperties"] = rest_field() + properties: Optional["_models.OrganizationProperties"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) """The resource-specific properties for this resource.""" - identity: Optional["_models.ManagedServiceIdentity"] = rest_field() + identity: Optional["_models.ManagedServiceIdentity"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) """The managed service identities assigned to this resource.""" @overload @@ -534,9 +524,11 @@ :vartype identity: ~azure.mgmt.pineconevectordb.models.ManagedServiceIdentity """ - tags: Optional[Dict[str, str]] = rest_field() + tags: Optional[Dict[str, str]] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """Resource tags.""" - identity: Optional["_models.ManagedServiceIdentity"] = rest_field() + identity: Optional["_models.ManagedServiceIdentity"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) """The managed service identities assigned to this resource.""" @overload @@ -561,12 +553,11 @@ class PartnerProperties(_model_base.Model): """Partner's specific Properties. - :ivar display_name: Pinecone Organization Name. Required. :vartype display_name: str """ - display_name: str = rest_field(name="displayName") + display_name: str = rest_field(name="displayName", visibility=["read", "create", "update", "delete", "query"]) """Pinecone Organization Name. Required.""" @overload @@ -590,7 +581,6 @@ class SingleSignOnPropertiesV2(_model_base.Model): """Properties specific to Single Sign On Resource. - :ivar type: Type of Single Sign-On mechanism being used. Required. Known values are: "Saml" and "OpenId". :vartype type: str or ~azure.mgmt.pineconevectordb.models.SingleSignOnType @@ -605,17 +595,25 @@ :vartype aad_domains: list[str] """ - type: Union[str, "_models.SingleSignOnType"] = rest_field() + type: Union[str, "_models.SingleSignOnType"] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) """Type of Single Sign-On mechanism being used. Required. Known values are: \"Saml\" and \"OpenId\".""" - state: Optional[Union[str, "_models.SingleSignOnStates"]] = rest_field() + state: Optional[Union[str, "_models.SingleSignOnStates"]] = rest_field( + visibility=["read", "create", "update", "delete", "query"] + ) """State of the Single Sign On for the resource. Known values are: \"Initial\", \"Enable\", and \"Disable\".""" - enterprise_app_id: Optional[str] = rest_field(name="enterpriseAppId") + enterprise_app_id: Optional[str] = rest_field( + name="enterpriseAppId", visibility=["read", "create", "update", "delete", "query"] + ) """AAD enterprise application Id used to setup SSO.""" - url: Optional[str] = rest_field() + url: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """URL for SSO to be used by the partner to redirect the user to their system.""" - aad_domains: Optional[List[str]] = rest_field(name="aadDomains") + aad_domains: Optional[List[str]] = rest_field( + name="aadDomains", visibility=["read", "create", "update", "delete", "query"] + ) """List of AAD domains fetched from Microsoft Graph for user.""" @overload @@ -659,19 +657,29 @@ :vartype last_modified_at: ~datetime.datetime """ - created_by: Optional[str] = rest_field(name="createdBy") + created_by: Optional[str] = rest_field(name="createdBy", visibility=["read", "create", "update", "delete", "query"]) """The identity that created the resource.""" - created_by_type: Optional[Union[str, "_models.CreatedByType"]] = rest_field(name="createdByType") + created_by_type: Optional[Union[str, "_models.CreatedByType"]] = rest_field( + name="createdByType", visibility=["read", "create", "update", "delete", "query"] + ) """The type of identity that created the resource. Known values are: \"User\", \"Application\", \"ManagedIdentity\", and \"Key\".""" - created_at: Optional[datetime.datetime] = rest_field(name="createdAt", format="rfc3339") + created_at: Optional[datetime.datetime] = rest_field( + name="createdAt", visibility=["read", "create", "update", "delete", "query"], format="rfc3339" + ) """The timestamp of resource creation (UTC).""" - last_modified_by: Optional[str] = rest_field(name="lastModifiedBy") + last_modified_by: Optional[str] = rest_field( + name="lastModifiedBy", visibility=["read", "create", "update", "delete", "query"] + ) """The identity that last modified the resource.""" - last_modified_by_type: Optional[Union[str, "_models.CreatedByType"]] = rest_field(name="lastModifiedByType") + last_modified_by_type: Optional[Union[str, "_models.CreatedByType"]] = rest_field( + name="lastModifiedByType", visibility=["read", "create", "update", "delete", "query"] + ) """The type of identity that last modified the resource. Known values are: \"User\", \"Application\", \"ManagedIdentity\", and \"Key\".""" - last_modified_at: Optional[datetime.datetime] = rest_field(name="lastModifiedAt", format="rfc3339") + last_modified_at: Optional[datetime.datetime] = rest_field( + name="lastModifiedAt", visibility=["read", "create", "update", "delete", "query"], format="rfc3339" + ) """The timestamp of resource last modification (UTC).""" @overload @@ -700,29 +708,26 @@ class UserAssignedIdentity(_model_base.Model): """User assigned identity properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The principal ID of the assigned identity. - :vartype principal_id: str :ivar client_id: The client ID of the assigned identity. :vartype client_id: str + :ivar principal_id: The principal ID of the assigned identity. + :vartype principal_id: str """ - principal_id: Optional[str] = rest_field(name="principalId", visibility=["read"]) - """The principal ID of the assigned identity.""" client_id: Optional[str] = rest_field(name="clientId", visibility=["read"]) """The client ID of the assigned identity.""" + principal_id: Optional[str] = rest_field(name="principalId", visibility=["read"]) + """The principal ID of the assigned identity.""" class UserDetails(_model_base.Model): """User details for an organization. - - :ivar first_name: First name of the user. Required. + :ivar first_name: First name of the user. :vartype first_name: str - :ivar last_name: Last name of the user. Required. + :ivar last_name: Last name of the user. :vartype last_name: str - :ivar email_address: Email address of the user. Required. + :ivar email_address: Email address of the user. :vartype email_address: str :ivar upn: User's principal name. :vartype upn: str @@ -730,24 +735,28 @@ :vartype phone_number: str """ - first_name: str = rest_field(name="firstName") - """First name of the user. Required.""" - last_name: str = rest_field(name="lastName") - """Last name of the user. Required.""" - email_address: str = rest_field(name="emailAddress") - """Email address of the user. Required.""" - upn: Optional[str] = rest_field() + first_name: Optional[str] = rest_field(name="firstName", visibility=["read", "create", "update", "delete", "query"]) + """First name of the user.""" + last_name: Optional[str] = rest_field(name="lastName", visibility=["read", "create", "update", "delete", "query"]) + """Last name of the user.""" + email_address: Optional[str] = rest_field( + name="emailAddress", visibility=["read", "create", "update", "delete", "query"] + ) + """Email address of the user.""" + upn: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """User's principal name.""" - phone_number: Optional[str] = rest_field(name="phoneNumber") + phone_number: Optional[str] = rest_field( + name="phoneNumber", visibility=["read", "create", "update", "delete", "query"] + ) """User's phone number.""" @overload def __init__( self, *, - first_name: str, - last_name: str, - email_address: str, + first_name: Optional[str] = None, + last_name: Optional[str] = None, + email_address: Optional[str] = None, upn: Optional[str] = None, phone_number: Optional[str] = None, ) -> None: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/operations/_operations.py new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/operations/_operations.py --- old/azure_mgmt_pineconevectordb-1.0.0b1/azure/mgmt/pineconevectordb/operations/_operations.py 2025-02-06 04:39:35.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/azure/mgmt/pineconevectordb/operations/_operations.py 2025-03-24 03:54:20.000000000 +0100 @@ -1,4 +1,4 @@ -# pylint: disable=too-many-lines +# pylint: disable=line-too-long,useless-suppression,too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -78,7 +78,7 @@ accept = _headers.pop("Accept", "application/json") # Construct URL - _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" # pylint: disable=line-too-long + _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" path_format_arguments = { "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"), "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, "str"), @@ -107,7 +107,7 @@ accept = _headers.pop("Accept", "application/json") # Construct URL - _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" # pylint: disable=line-too-long + _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" path_format_arguments = { "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"), "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, "str"), @@ -138,7 +138,7 @@ accept = _headers.pop("Accept", "application/json") # Construct URL - _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" # pylint: disable=line-too-long + _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" path_format_arguments = { "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"), "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, "str"), @@ -168,7 +168,7 @@ accept = _headers.pop("Accept", "application/json") # Construct URL - _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" # pylint: disable=line-too-long + _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations/{organizationname}" path_format_arguments = { "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"), "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, "str"), @@ -196,7 +196,9 @@ accept = _headers.pop("Accept", "application/json") # Construct URL - _url = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations" # pylint: disable=line-too-long + _url = ( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Pinecone.VectorDb/organizations" + ) path_format_arguments = { "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"), "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, "str"), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure_mgmt_pineconevectordb-1.0.0b1/azure_mgmt_pineconevectordb.egg-info/PKG-INFO new/azure_mgmt_pineconevectordb-1.0.0b2/azure_mgmt_pineconevectordb.egg-info/PKG-INFO --- old/azure_mgmt_pineconevectordb-1.0.0b1/azure_mgmt_pineconevectordb.egg-info/PKG-INFO 2025-02-06 04:41:41.000000000 +0100 +++ new/azure_mgmt_pineconevectordb-1.0.0b2/azure_mgmt_pineconevectordb.egg-info/PKG-INFO 2025-03-24 03:56:40.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-mgmt-pineconevectordb -Version: 1.0.0b1 +Version: 1.0.0b2 Summary: Microsoft Azure Pineconevectordb Management Client Library for Python Home-page: https://github.com/Azure/azure-sdk-for-python Author: Microsoft Corporation @@ -90,6 +90,15 @@ # Release History +## 1.0.0b2 (2025-03-20) + +### Features Added + + - Parameter `subscription_id` of model `MarketplaceDetails` is now optional + - Parameter `first_name` of model `UserDetails` is now optional + - Parameter `last_name` of model `UserDetails` is now optional + - Parameter `email_address` of model `UserDetails` is now optional + ## 1.0.0b1 (2025-02-06) ### Other Changes