ignos-internal-api-client 20251117.0.13243__py3-none-any.whl → 20260206.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ignos/internal/api/client/_utils/serialization.py +14 -3
- ignos/internal/api/client/_version.py +1 -1
- ignos/internal/api/client/models/_models.py +4 -3
- {ignos_internal_api_client-20251117.0.13243.dist-info → ignos_internal_api_client-20260206.3.1.dist-info}/METADATA +2 -2
- {ignos_internal_api_client-20251117.0.13243.dist-info → ignos_internal_api_client-20260206.3.1.dist-info}/RECORD +7 -7
- {ignos_internal_api_client-20251117.0.13243.dist-info → ignos_internal_api_client-20260206.3.1.dist-info}/WHEEL +1 -1
- {ignos_internal_api_client-20251117.0.13243.dist-info → ignos_internal_api_client-20260206.3.1.dist-info}/top_level.txt +0 -0
|
@@ -821,13 +821,20 @@ class Serializer: # pylint: disable=too-many-public-methods
|
|
|
821
821
|
:param str data_type: Type of object in the iterable.
|
|
822
822
|
:rtype: str, int, float, bool
|
|
823
823
|
:return: serialized object
|
|
824
|
+
:raises TypeError: raise if data_type is not one of str, int, float, bool.
|
|
824
825
|
"""
|
|
825
826
|
custom_serializer = cls._get_custom_serializers(data_type, **kwargs)
|
|
826
827
|
if custom_serializer:
|
|
827
828
|
return custom_serializer(data)
|
|
828
829
|
if data_type == "str":
|
|
829
830
|
return cls.serialize_unicode(data)
|
|
830
|
-
|
|
831
|
+
if data_type == "int":
|
|
832
|
+
return int(data)
|
|
833
|
+
if data_type == "float":
|
|
834
|
+
return float(data)
|
|
835
|
+
if data_type == "bool":
|
|
836
|
+
return bool(data)
|
|
837
|
+
raise TypeError("Unknown basic data type: {}".format(data_type))
|
|
831
838
|
|
|
832
839
|
@classmethod
|
|
833
840
|
def serialize_unicode(cls, data):
|
|
@@ -1757,7 +1764,7 @@ class Deserializer:
|
|
|
1757
1764
|
:param str data_type: deserialization data type.
|
|
1758
1765
|
:return: Deserialized basic type.
|
|
1759
1766
|
:rtype: str, int, float or bool
|
|
1760
|
-
:raises TypeError: if string format is not valid.
|
|
1767
|
+
:raises TypeError: if string format is not valid or data_type is not one of str, int, float, bool.
|
|
1761
1768
|
"""
|
|
1762
1769
|
# If we're here, data is supposed to be a basic type.
|
|
1763
1770
|
# If it's still an XML node, take the text
|
|
@@ -1783,7 +1790,11 @@ class Deserializer:
|
|
|
1783
1790
|
|
|
1784
1791
|
if data_type == "str":
|
|
1785
1792
|
return self.deserialize_unicode(attr)
|
|
1786
|
-
|
|
1793
|
+
if data_type == "int":
|
|
1794
|
+
return int(attr)
|
|
1795
|
+
if data_type == "float":
|
|
1796
|
+
return float(attr)
|
|
1797
|
+
raise TypeError("Unknown basic data type: {}".format(data_type))
|
|
1787
1798
|
|
|
1788
1799
|
@staticmethod
|
|
1789
1800
|
def deserialize_unicode(data):
|
|
@@ -2207,7 +2207,7 @@ class UpdateCustomerRequest(_serialization.Model):
|
|
|
2207
2207
|
|
|
2208
2208
|
:ivar name: Required.
|
|
2209
2209
|
:vartype name: str
|
|
2210
|
-
:ivar azure_ad_tenant_id:
|
|
2210
|
+
:ivar azure_ad_tenant_id: Required.
|
|
2211
2211
|
:vartype azure_ad_tenant_id: str
|
|
2212
2212
|
:ivar contact_person:
|
|
2213
2213
|
:vartype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
|
|
@@ -2227,6 +2227,7 @@ class UpdateCustomerRequest(_serialization.Model):
|
|
|
2227
2227
|
|
|
2228
2228
|
_validation = {
|
|
2229
2229
|
"name": {"required": True, "min_length": 1},
|
|
2230
|
+
"azure_ad_tenant_id": {"required": True, "min_length": 1},
|
|
2230
2231
|
"three_letter_iso_country": {"required": True, "min_length": 1},
|
|
2231
2232
|
"customer_managed_cdf": {"required": True},
|
|
2232
2233
|
}
|
|
@@ -2247,9 +2248,9 @@ class UpdateCustomerRequest(_serialization.Model):
|
|
|
2247
2248
|
self,
|
|
2248
2249
|
*,
|
|
2249
2250
|
name: str,
|
|
2251
|
+
azure_ad_tenant_id: str,
|
|
2250
2252
|
three_letter_iso_country: str,
|
|
2251
2253
|
customer_managed_cdf: bool,
|
|
2252
|
-
azure_ad_tenant_id: Optional[str] = None,
|
|
2253
2254
|
contact_person: Optional["_models.ContactPersonRequest"] = None,
|
|
2254
2255
|
external_reference: Optional[str] = None,
|
|
2255
2256
|
logo_url: Optional[str] = None,
|
|
@@ -2260,7 +2261,7 @@ class UpdateCustomerRequest(_serialization.Model):
|
|
|
2260
2261
|
"""
|
|
2261
2262
|
:keyword name: Required.
|
|
2262
2263
|
:paramtype name: str
|
|
2263
|
-
:keyword azure_ad_tenant_id:
|
|
2264
|
+
:keyword azure_ad_tenant_id: Required.
|
|
2264
2265
|
:paramtype azure_ad_tenant_id: str
|
|
2265
2266
|
:keyword contact_person:
|
|
2266
2267
|
:paramtype contact_person: ~ignos.internal.api.client.models.ContactPersonRequest
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ignos-internal-api-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20260206.3.1
|
|
4
4
|
Summary: ignos-internal-api-client
|
|
5
5
|
Home-page:
|
|
6
6
|
Author-email:
|
|
7
7
|
Keywords: azure,azure sdk
|
|
8
8
|
Requires-Dist: isodate>=0.6.1
|
|
9
|
-
Requires-Dist: azure-core>=1.
|
|
9
|
+
Requires-Dist: azure-core>=1.37.0
|
|
10
10
|
Requires-Dist: typing-extensions>=4.6.0
|
|
11
11
|
Dynamic: description
|
|
12
12
|
Dynamic: keywords
|
|
@@ -5,10 +5,10 @@ ignos/internal/api/client/__init__.py,sha256=yofo8ybAhMF8asVpP0exUnvFYISbIqFri2t
|
|
|
5
5
|
ignos/internal/api/client/_client.py,sha256=qcil-IBBVwzRVxT82mN9P0_xnsBULdaf4NPNXKoELR0,7672
|
|
6
6
|
ignos/internal/api/client/_configuration.py,sha256=spBnO_OJMl4M0tN6N6JkamIRScD4dgyt129pSZlNg4I,2843
|
|
7
7
|
ignos/internal/api/client/_patch.py,sha256=bRmors9r9iYkR1NFjnMBYkj7OVhnGo-_rhjh67IMApE,824
|
|
8
|
-
ignos/internal/api/client/_version.py,sha256=
|
|
8
|
+
ignos/internal/api/client/_version.py,sha256=_ryXYcP4o5o6kwkttfTBrXA7t5DDwv-tBFfuvm8CVrY,493
|
|
9
9
|
ignos/internal/api/client/py.typed,sha256=dcrsqJrcYfTX-ckLFJMTaj6mD8aDe2u0tkQG-ZYxnEg,26
|
|
10
10
|
ignos/internal/api/client/_utils/__init__.py,sha256=sbjmEEjeH9Sr8xo3lkmUvyHuZkKo3xPbPehsxe7iQjE,452
|
|
11
|
-
ignos/internal/api/client/_utils/serialization.py,sha256=
|
|
11
|
+
ignos/internal/api/client/_utils/serialization.py,sha256=ov9chKiMl9r5Z1k8hAnPXU1bIeqesyLEgG2zeXufD1Q,82388
|
|
12
12
|
ignos/internal/api/client/aio/__init__.py,sha256=QShbIXygLOLQPrJi-8l9SSFnWOR0pQOAQ7ywGoCrSzc,977
|
|
13
13
|
ignos/internal/api/client/aio/_client.py,sha256=j0xsCvAJwHztKQok1PYmA8kveTm_tju7KUi_XGopGBU,7875
|
|
14
14
|
ignos/internal/api/client/aio/_configuration.py,sha256=L9YsI6_JpxMXXYQZ6wlkQs5d2yCxPp5F0LcDz0aVIrw,2886
|
|
@@ -18,12 +18,12 @@ ignos/internal/api/client/aio/operations/_operations.py,sha256=IFaGyKg-3a1BzWKRc
|
|
|
18
18
|
ignos/internal/api/client/aio/operations/_patch.py,sha256=bRmors9r9iYkR1NFjnMBYkj7OVhnGo-_rhjh67IMApE,824
|
|
19
19
|
ignos/internal/api/client/models/__init__.py,sha256=Y-X2xqnypHk2wHp7mksFw2OUMjlaI8uCOi5bMkWWDtQ,3251
|
|
20
20
|
ignos/internal/api/client/models/_enums.py,sha256=6N4BGlh6kTR_1WZyuCGFqnFwbAH17vGI-JlNfxR8okc,1309
|
|
21
|
-
ignos/internal/api/client/models/_models.py,sha256=
|
|
21
|
+
ignos/internal/api/client/models/_models.py,sha256=2nBpLlCrnEYzhMdnaIzcsQmdM6ODSoRVmEDL9RACnhw,84503
|
|
22
22
|
ignos/internal/api/client/models/_patch.py,sha256=bRmors9r9iYkR1NFjnMBYkj7OVhnGo-_rhjh67IMApE,824
|
|
23
23
|
ignos/internal/api/client/operations/__init__.py,sha256=HyM1vYYtBSwhkGKf_giDx3SrQwzU41SEC2f_hR1QzNA,2005
|
|
24
24
|
ignos/internal/api/client/operations/_operations.py,sha256=G5S3ANyRo8m0fwg3UcFp3Myx9zQKZyWY1Vh33gwOpwY,166022
|
|
25
25
|
ignos/internal/api/client/operations/_patch.py,sha256=bRmors9r9iYkR1NFjnMBYkj7OVhnGo-_rhjh67IMApE,824
|
|
26
|
-
ignos_internal_api_client-
|
|
27
|
-
ignos_internal_api_client-
|
|
28
|
-
ignos_internal_api_client-
|
|
29
|
-
ignos_internal_api_client-
|
|
26
|
+
ignos_internal_api_client-20260206.3.1.dist-info/METADATA,sha256=NzFa-mt8KQlHOG4KN_wzJCXDo6XgyvuA8oNYm7hvezk,375
|
|
27
|
+
ignos_internal_api_client-20260206.3.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
28
|
+
ignos_internal_api_client-20260206.3.1.dist-info/top_level.txt,sha256=eGbj-YCTgfKuJX7-n95eMN-onlnccQiO8XnhWA0wgVA,6
|
|
29
|
+
ignos_internal_api_client-20260206.3.1.dist-info/RECORD,,
|