ignos-internal-api-client 20250905.0.12525__tar.gz → 20260206.0.14004__tar.gz

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.
Files changed (33) hide show
  1. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/PKG-INFO +2 -2
  2. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/_utils/serialization.py +15 -4
  3. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/_version.py +1 -1
  4. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/models/_models.py +4 -3
  5. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos_internal_api_client.egg-info/PKG-INFO +2 -2
  6. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos_internal_api_client.egg-info/requires.txt +1 -1
  7. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/setup.py +2 -2
  8. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/__init__.py +0 -0
  9. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/__init__.py +0 -0
  10. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/__init__.py +0 -0
  11. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/__init__.py +0 -0
  12. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/_client.py +0 -0
  13. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/_configuration.py +0 -0
  14. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/_patch.py +0 -0
  15. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/_utils/__init__.py +0 -0
  16. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/aio/__init__.py +0 -0
  17. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/aio/_client.py +0 -0
  18. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/aio/_configuration.py +0 -0
  19. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/aio/_patch.py +0 -0
  20. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/aio/operations/__init__.py +0 -0
  21. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/aio/operations/_operations.py +0 -0
  22. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/aio/operations/_patch.py +0 -0
  23. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/models/__init__.py +0 -0
  24. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/models/_enums.py +0 -0
  25. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/models/_patch.py +0 -0
  26. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/operations/__init__.py +0 -0
  27. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/operations/_operations.py +0 -0
  28. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/operations/_patch.py +0 -0
  29. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos/internal/api/client/py.typed +0 -0
  30. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos_internal_api_client.egg-info/SOURCES.txt +0 -0
  31. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos_internal_api_client.egg-info/dependency_links.txt +0 -0
  32. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/ignos_internal_api_client.egg-info/top_level.txt +0 -0
  33. {ignos_internal_api_client-20250905.0.12525 → ignos_internal_api_client-20260206.0.14004}/setup.cfg +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ignos-internal-api-client
3
- Version: 20250905.0.12525
3
+ Version: 20260206.0.14004
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.35.0
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
@@ -787,7 +787,7 @@ class Serializer: # pylint: disable=too-many-public-methods
787
787
 
788
788
  # If dependencies is empty, try with current data class
789
789
  # It has to be a subclass of Enum anyway
790
- enum_type = self.dependencies.get(data_type, data.__class__)
790
+ enum_type = self.dependencies.get(data_type, cast(type, data.__class__))
791
791
  if issubclass(enum_type, Enum):
792
792
  return Serializer.serialize_enum(data, enum_obj=enum_type)
793
793
 
@@ -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
- return eval(data_type)(data) # nosec # pylint: disable=eval-used
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
- return eval(data_type)(attr) # nosec # pylint: disable=eval-used
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):
@@ -6,4 +6,4 @@
6
6
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  # --------------------------------------------------------------------------
8
8
 
9
- VERSION = "20250905.0.12525"
9
+ VERSION = "20260206.0.14004"
@@ -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: 20250905.0.12525
3
+ Version: 20260206.0.14004
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.35.0
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
@@ -1,3 +1,3 @@
1
1
  isodate>=0.6.1
2
- azure-core>=1.35.0
2
+ azure-core>=1.37.0
3
3
  typing-extensions>=4.6.0
@@ -10,7 +10,7 @@ from setuptools import setup, find_packages
10
10
 
11
11
 
12
12
  PACKAGE_NAME = "ignos-internal-api-client"
13
- version = "20250905.0.12525"
13
+ version = "20260206.0.14004"
14
14
 
15
15
 
16
16
  setup(
@@ -24,7 +24,7 @@ setup(
24
24
  include_package_data=True,
25
25
  install_requires=[
26
26
  "isodate>=0.6.1",
27
- "azure-core>=1.35.0",
27
+ "azure-core>=1.37.0",
28
28
  "typing-extensions>=4.6.0",
29
29
  ],
30
30
  long_description="""\