osbot-utils 2.85.0__py3-none-any.whl → 2.87.0__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.
@@ -1,8 +1,8 @@
1
1
  # todo: find a way to add these documentations strings to a separate location so that
2
2
  # the data is available in IDE's code complete
3
- from osbot_utils.type_safe.type_safe_core.shared.Type_Safe__Validation import type_safe_validation
3
+ from osbot_utils.type_safe.type_safe_core.shared.Type_Safe__Validation import type_safe_validation
4
4
  from osbot_utils.type_safe.type_safe_core.steps.Type_Safe__Step__Class_Kwargs import type_safe_step_class_kwargs
5
- from osbot_utils.type_safe.type_safe_core.steps.Type_Safe__Step__Default_Kwargs import type_safe_step_default_kwargs
5
+ from osbot_utils.type_safe.type_safe_core.steps.Type_Safe__Step__Default_Kwargs import type_safe_step_default_kwargs
6
6
  from osbot_utils.type_safe.type_safe_core.steps.Type_Safe__Step__Default_Value import type_safe_step_default_value
7
7
  from osbot_utils.type_safe.type_safe_core.steps.Type_Safe__Step__Init import type_safe_step_init
8
8
  from osbot_utils.type_safe.type_safe_core.steps.Type_Safe__Step__Set_Attr import type_safe_step_set_attr
@@ -67,4 +67,9 @@ class Type_Safe__Primitive:
67
67
  if self.__primitive_base__ is str:
68
68
  return f"{type(self).__name__}('{value_str}')"
69
69
  else:
70
- return f"{type(self).__name__}({value_str})"
70
+ return f"{type(self).__name__}({value_str})"
71
+
72
+ def __to_primitive__(self): # Convert this Type_Safe__Primitive instance to its base primitive type.
73
+ if self.__primitive_base__:
74
+ return self.__primitive_base__(self)
75
+ return str(self) # fallback
@@ -1,8 +1,8 @@
1
- # todo add to osbot utils
2
- from osbot_utils.utils.Misc import random_guid_short
1
+ from osbot_utils.type_safe.Type_Safe__Primitive import Type_Safe__Primitive
2
+ from osbot_utils.utils.Misc import random_guid_short
3
3
 
4
4
 
5
- class Random_Guid_Short(str):
5
+ class Random_Guid_Short(Type_Safe__Primitive, str):
6
6
  def __new__(cls, value=None):
7
7
  if value is None:
8
8
  value = random_guid_short()
@@ -1,6 +1,9 @@
1
1
  from typing import Type
2
+ from osbot_utils.testing.__ import __
2
3
  from osbot_utils.type_safe.Type_Safe__Base import Type_Safe__Base
4
+ from osbot_utils.type_safe.Type_Safe__Primitive import Type_Safe__Primitive
3
5
  from osbot_utils.type_safe.type_safe_core.collections.Type_Safe__List import Type_Safe__List
6
+ from osbot_utils.utils.Objects import dict_to_obj
4
7
 
5
8
 
6
9
  class Type_Safe__Dict(Type_Safe__Base, dict):
@@ -27,29 +30,54 @@ class Type_Safe__Dict(Type_Safe__Base, dict):
27
30
  def __enter__(self): return self
28
31
  def __exit__ (self, type, value, traceback): pass
29
32
 
30
- def json(self): # Convert the dictionary to a JSON-serializable format.
31
- from osbot_utils.type_safe.Type_Safe import Type_Safe # can only import this here to avoid circular imports
33
+ def json(self):
34
+ from osbot_utils.type_safe.Type_Safe import Type_Safe
35
+
36
+ def serialize_value(v):
37
+ """Recursively serialize values, handling nested structures"""
38
+ if isinstance(v, Type_Safe):
39
+ return v.json()
40
+ elif isinstance(v, Type_Safe__Primitive):
41
+ return v.__to_primitive__()
42
+ elif isinstance(v, dict):
43
+ # Recursively handle nested dictionaries
44
+ return {k2: serialize_value(v2) for k2, v2 in v.items()}
45
+ elif isinstance(v, (list, tuple, set)):
46
+ # Recursively handle sequences
47
+ serialized = [serialize_value(item) for item in v]
48
+ if isinstance(v, list):
49
+ return serialized
50
+ elif isinstance(v, tuple):
51
+ return tuple(serialized)
52
+ else: # set
53
+ return set(serialized)
54
+ else:
55
+ return v
32
56
 
33
57
  result = {}
34
58
  for key, value in self.items():
35
-
36
- if isinstance(key, (type, Type)): # Handle Type objects as keys
59
+ # Handle Type objects as keys
60
+ if isinstance(key, (type, Type)):
37
61
  key = f"{key.__module__}.{key.__name__}"
62
+ elif isinstance(key, Type_Safe__Primitive):
63
+ key = key.__to_primitive__()
64
+
65
+ # Use recursive serialization for values
66
+ result[key] = serialize_value(value)
38
67
 
39
- if isinstance(value, Type_Safe): # Handle Type_Safe objects in values
40
- result[key] = value.json()
41
- elif isinstance(value, (list, tuple)): # Handle lists/tuples that might contain Type_Safe objects
42
- result[key] = [item.json() if isinstance(item, Type_Safe) else item
43
- for item in value]
44
- elif isinstance(value, dict): # Handle nested dictionaries that might contain Type_Safe objects
45
- result[key] = {k: v.json() if isinstance(v, Type_Safe) else v
46
- for k, v in value.items()}
47
- else: # Regular values can be used as-is
48
- result[key] = value
49
68
  return result
50
69
 
70
+ def get(self, key, default=None): # this makes it consistent with the modified behaviour of __get__item
71
+ try:
72
+ return self[key] # Use __getitem__ with conversion
73
+ except KeyError:
74
+ return default # Return default instead of raising
75
+
51
76
  def keys(self) -> Type_Safe__List:
52
77
  return Type_Safe__List(self.expected_key_type, super().keys())
53
78
 
79
+ def obj(self) -> __:
80
+ return dict_to_obj(self.json())
81
+
54
82
  def values(self) -> Type_Safe__List:
55
83
  return Type_Safe__List(self.expected_value_type, super().values())
@@ -50,6 +50,8 @@ class Type_Safe__List(Type_Safe__Base, list):
50
50
  for item in self:
51
51
  if isinstance(item, Type_Safe):
52
52
  result.append(item.json())
53
+ elif isinstance(item, Type_Safe__Primitive):
54
+ result.append(item.__to_primitive__())
53
55
  elif isinstance(item, (list, tuple)):
54
56
  result.append([x.json() if isinstance(x, Type_Safe) else x for x in item])
55
57
  elif isinstance(item, dict):
@@ -1,4 +1,6 @@
1
- from osbot_utils.type_safe.Type_Safe__Base import Type_Safe__Base, type_str
1
+ from osbot_utils.type_safe.Type_Safe__Base import Type_Safe__Base, type_str
2
+ from osbot_utils.type_safe.Type_Safe__Primitive import Type_Safe__Primitive
3
+
2
4
 
3
5
  class Type_Safe__Set(Type_Safe__Base, set):
4
6
  def __init__(self, expected_type, *args):
@@ -10,10 +12,21 @@ class Type_Safe__Set(Type_Safe__Base, set):
10
12
  return f"set[{expected_type_name}] with {len(self)} elements"
11
13
 
12
14
  def add(self, item):
13
- try:
15
+ from osbot_utils.type_safe.Type_Safe import Type_Safe
16
+ if type(self.expected_type) is type and issubclass(self.expected_type, Type_Safe) and type(item) is dict: # Handle Type_Safe objects from dicts
17
+ item = self.expected_type.from_json(item)
18
+ elif type(self.expected_type) is type and issubclass(self.expected_type, Type_Safe__Primitive): # Handle Type_Safe__Primitive conversions (str -> Safe_Str, etc.)
19
+ if not isinstance(item, self.expected_type):
20
+ try:
21
+ item = self.expected_type(item)
22
+ except (ValueError, TypeError) as e:
23
+ raise TypeError(f"In Type_Safe__Set: Could not convert {type(item).__name__} to {self.expected_type.__name__}: {e}") from None
24
+
25
+ try: # Now validate the (possibly converted) item
14
26
  self.is_instance_of_type(item, self.expected_type)
15
27
  except TypeError as e:
16
- raise TypeError(f"In Type_Safe__Set: Invalid type for item: {e}")
28
+ raise TypeError(f"In Type_Safe__Set: Invalid type for item: {e}") from None
29
+
17
30
  super().add(item)
18
31
 
19
32
  def json(self):
@@ -23,6 +36,8 @@ class Type_Safe__Set(Type_Safe__Base, set):
23
36
  for item in self:
24
37
  if isinstance(item, Type_Safe):
25
38
  result.append(item.json())
39
+ elif isinstance(item, Type_Safe__Primitive):
40
+ result.append(item.__to_primitive__())
26
41
  elif isinstance(item, (list, tuple, set)):
27
42
  result.append([x.json() if isinstance(x, Type_Safe) else x for x in item])
28
43
  elif isinstance(item, dict):
@@ -3,14 +3,44 @@ from osbot_utils.type_safe.Type_Safe__Base import Type_Safe__Base, type_str
3
3
  class Type_Safe__Tuple(Type_Safe__Base, tuple):
4
4
 
5
5
  def __new__(cls, expected_types, items=None):
6
- items = items or tuple()
7
- instance = super().__new__(cls, items)
6
+ items = items or tuple()
7
+
8
+ converted_items = cls.convert_items(expected_types, items) # Convert items BEFORE creating the tuple
9
+
10
+ instance = super().__new__(cls, converted_items)
8
11
  instance.expected_types = expected_types
9
12
  return instance
10
13
 
11
- def __init__(self, expected_types, items=None): # todo: see if we should be assigning expected_types to self here
14
+ def __init__(self, expected_types, items=None):
12
15
  if items:
13
- self.validate_items(items)
16
+ self.validate_items(self) # Validate the already-converted items
17
+
18
+ @classmethod
19
+ def convert_items(cls, expected_types, items): # Convert items to expected types before creating the tuple.
20
+ from osbot_utils.type_safe.Type_Safe import Type_Safe
21
+ from osbot_utils.type_safe.Type_Safe__Primitive import Type_Safe__Primitive
22
+
23
+ if not items:
24
+ return tuple()
25
+
26
+ if len(items) != len(expected_types):
27
+ raise ValueError(f"Expected {len(expected_types)} elements, got {len(items)}")
28
+
29
+
30
+ converted = []
31
+ for item, expected_type in zip(items, expected_types):
32
+ if type(expected_type) is type and issubclass(expected_type, Type_Safe) and type(item) is dict: # Handle Type_Safe objects from dicts
33
+ item = expected_type.from_json(item)
34
+ elif type(expected_type) is type and issubclass(expected_type, Type_Safe__Primitive): # Handle Type_Safe__Primitive conversions
35
+ if not isinstance(item, expected_type):
36
+ try:
37
+ item = expected_type(item)
38
+ except (ValueError, TypeError) as e:
39
+ raise TypeError(f"In Type_Safe__Tuple: Could not convert {type(item).__name__} to {expected_type.__name__}: {e}") from None
40
+
41
+ converted.append(item)
42
+
43
+ return tuple(converted)
14
44
 
15
45
  def validate_items(self, items):
16
46
  if len(items) != len(self.expected_types):
@@ -26,12 +56,15 @@ class Type_Safe__Tuple(Type_Safe__Base, tuple):
26
56
  return f"tuple[{types_str}] with {len(self)} elements"
27
57
 
28
58
  def json(self):
29
- from osbot_utils.type_safe.Type_Safe import Type_Safe
59
+ from osbot_utils.type_safe.Type_Safe import Type_Safe
60
+ from osbot_utils.type_safe.Type_Safe__Primitive import Type_Safe__Primitive
30
61
 
31
62
  result = []
32
63
  for item in self:
33
64
  if isinstance(item, Type_Safe):
34
65
  result.append(item.json())
66
+ elif isinstance(item, Type_Safe__Primitive):
67
+ result.append(item.__to_primitive__()) # Convert primitives to base types
35
68
  elif isinstance(item, (list, tuple)):
36
69
  result.append([x.json() if isinstance(x, Type_Safe) else x for x in item])
37
70
  elif isinstance(item, dict):
@@ -5,17 +5,18 @@ from enum
5
5
  from osbot_utils.helpers.Obj_Id import Obj_Id
6
6
  from osbot_utils.type_safe.Type_Safe import Type_Safe
7
7
  from osbot_utils.type_safe.primitives.safe_str.identifiers.Random_Guid import Random_Guid
8
- from osbot_utils.type_safe.primitives.safe_str.identifiers.Random_Guid_Short import Random_Guid_Short
8
+ from osbot_utils.type_safe.primitives.safe_str.identifiers.Random_Guid_Short import Random_Guid_Short
9
9
  from osbot_utils.type_safe.primitives.safe_str.cryptography.hashes.Safe_Str__Hash import Safe_Str__Hash
10
10
  from osbot_utils.type_safe.type_safe_core.collections.Type_Safe__Dict import Type_Safe__Dict
11
11
  from osbot_utils.type_safe.type_safe_core.collections.Type_Safe__List import Type_Safe__List
12
12
  from osbot_utils.type_safe.type_safe_core.collections.Type_Safe__Set import Type_Safe__Set
13
+ from osbot_utils.type_safe.type_safe_core.collections.Type_Safe__Tuple import Type_Safe__Tuple
13
14
  from osbot_utils.type_safe.type_safe_core.shared.Type_Safe__Annotations import type_safe_annotations
14
15
  from osbot_utils.type_safe.type_safe_core.shared.Type_Safe__Cache import type_safe_cache
15
16
  from osbot_utils.type_safe.type_safe_core.shared.Type_Safe__Convert import type_safe_convert
16
17
  from osbot_utils.utils.Objects import enum_from_value
17
18
  from osbot_utils.type_safe.primitives.safe_str.identifiers.Safe_Id import Safe_Id
18
- from osbot_utils.type_safe.primitives.safe_int.Timestamp_Now import Timestamp_Now
19
+ from osbot_utils.type_safe.primitives.safe_int.Timestamp_Now import Timestamp_Now
19
20
 
20
21
  # todo; refactor all this python compatibility into the python_3_8 class
21
22
  if sys.version_info < (3, 8): # pragma: no cover
@@ -60,8 +61,11 @@ class Type_Safe__Step__From_Json:
60
61
  elif annotation_origin == type: # Handle type objects inside ForwardRef
61
62
  value = self.deserialize_type__using_value(value)
62
63
  if annotation_origin is tuple and isinstance(value, list):
63
- # item_types = get_args(annotation) # todo: see if we should do type safety here
64
- value = tuple(value)
64
+ item_types = get_args(annotation)
65
+ if item_types:
66
+ value = Type_Safe__Tuple(expected_types=item_types, items=value) # Create a Type_Safe__Tuple with proper type conversion
67
+ else:
68
+ value = tuple(value)
65
69
  elif type_safe_annotations.obj_is_attribute_annotation_of_type(_self, key, dict): # handle the case when the value is a dict
66
70
  value = self.deserialize_dict__using_key_value_annotations(_self, key, value)
67
71
  elif type_safe_annotations.obj_is_attribute_annotation_of_type(_self, key, set): # handle the case when the value is a list
@@ -13,6 +13,8 @@ class Type_Safe__Step__Set_Attr:
13
13
  value = self.resolve_value__dict(_self, name, value)
14
14
  elif type(value) is list:
15
15
  value = self.resolve_value__list(_self, name, value)
16
+ elif type(value) is tuple:
17
+ value = self.resolve_value__tuple(_self, name, value)
16
18
  elif isinstance(annotations.get(name), type) and issubclass(annotations.get(name), Type_Safe__Primitive) and type(value) in (int, str, float):
17
19
  return annotations.get(name)(value)
18
20
  elif type(value) in (int, str): # for now only a small number of str and int classes are supported (until we understand the full implications of this)
@@ -53,6 +55,20 @@ class Type_Safe__Step__Set_Attr:
53
55
  return type_safe_list
54
56
 
55
57
  return value
58
+
59
+ def resolve_value__tuple(self, _self, name, value): # Convert regular tuples to Type_Safe__Tuple instances
60
+ annotations = type_safe_cache.get_obj_annotations(_self)
61
+ annotation = annotations.get(name)
62
+
63
+ if annotation:
64
+ origin = type_safe_cache.get_origin(annotation)
65
+ if origin is tuple:
66
+ args = get_args(annotation)
67
+ if args:
68
+ from osbot_utils.type_safe.type_safe_core.collections.Type_Safe__Tuple import Type_Safe__Tuple
69
+ return Type_Safe__Tuple(expected_types=args, items=value)
70
+
71
+ return value
56
72
  def resolve_value__from_origin(self, value):
57
73
  #origin = type_safe_cache.get_origin(value) # todo: figure out why this is the only place that the type_safe_cache.get_origin doesn't work (due to WeakKeyDictionary key error on value)
58
74
  origin = get_origin(value)
@@ -106,7 +122,7 @@ class Type_Safe__Step__Set_Attr:
106
122
  return _super.__setattr__(name, value)
107
123
 
108
124
  if value is not None:
109
- value = self.resolve_value (_self, annotations, name, value)
125
+ value = self.resolve_value (_self, annotations, name, value)
110
126
  value = self.handle_get_class(_self, annotations, name, value)
111
127
  else:
112
128
  type_safe_validation.validate_if_value_has_been_set(_self, annotations, name, value)
@@ -265,14 +265,18 @@ def pickle_load_from_bytes(pickled_data: bytes):
265
265
  return {}
266
266
 
267
267
  # todo: see if it is possible to add recursive protection to this logic
268
+ # todo: we should move this method to the type_safe classes and folders
268
269
  def serialize_to_dict(obj):
269
- from decimal import Decimal
270
- from enum import Enum
271
- from typing import List
272
-
273
- if hasattr(obj, '__primitive_base__') and isinstance(obj, (str, int, float)):
270
+ from decimal import Decimal
271
+ from enum import Enum
272
+ from typing import List
273
+ from osbot_utils.type_safe.Type_Safe__Base import Type_Safe__Base
274
+
275
+ if isinstance(obj, Type_Safe__Base) and hasattr(obj, 'json'): # if it is one of these Type_Safe__Base classes
276
+ return obj.json() # use the provided .json() method, which handles the type conversions more specifically to those types (dict, list, set and tuple)
277
+ elif hasattr(obj, '__primitive_base__') and isinstance(obj, (str, int, float)):
274
278
  return obj.__primitive_base__(obj)
275
- elif isinstance(obj, (str, int, float, bool, bytes, Decimal)) or obj is None: # todo: add support for objects like datetime
279
+ elif isinstance(obj, (str, int, float, bool, bytes, Decimal)) or obj is None: # todo: add support for objects like datetime
276
280
  return obj
277
281
  elif isinstance(obj, Enum):
278
282
  return obj.name
osbot_utils/version CHANGED
@@ -1 +1 @@
1
- v2.85.0
1
+ v2.87.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: osbot_utils
3
- Version: 2.85.0
3
+ Version: 2.87.0
4
4
  Summary: OWASP Security Bot - Utils
5
5
  License: MIT
6
6
  Author: Dinis Cruz
@@ -21,7 +21,7 @@ Description-Content-Type: text/markdown
21
21
 
22
22
  # OSBot-Utils
23
23
 
24
- ![Current Release](https://img.shields.io/badge/release-v2.85.0-blue)
24
+ ![Current Release](https://img.shields.io/badge/release-v2.87.0-blue)
25
25
  ![Python](https://img.shields.io/badge/python-3.8+-green)
26
26
  ![Type-Safe](https://img.shields.io/badge/Type--Safe-✓-brightgreen)
27
27
  ![Caching](https://img.shields.io/badge/Caching-Built--In-orange)
@@ -349,9 +349,9 @@ osbot_utils/testing/performance/models/Model__Performance_Measure__Result.py,sha
349
349
  osbot_utils/testing/performance/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
350
350
  osbot_utils/testing/test_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
351
351
  osbot_utils/testing/test_data/const__test__data__html.py,sha256=_DmA7OoCwvl1xxxn2aS8mfvf3Ct4bOt1KTUyTDqtwaQ,1718
352
- osbot_utils/type_safe/Type_Safe.py,sha256=G0HCBk52ehaJGhLYnt4cKUBsqfnxyRDxrY7_7YhktZg,6390
352
+ osbot_utils/type_safe/Type_Safe.py,sha256=WrsGJgD4iEoKN8z-ZU6RB78QcloLVxck-CB83f44yJw,6398
353
353
  osbot_utils/type_safe/Type_Safe__Base.py,sha256=cui8fIzUGaPsb-fnANj8nw9cYrVikdx1XZ8in3Y_-QU,9174
354
- osbot_utils/type_safe/Type_Safe__Primitive.py,sha256=-GBUcuFBBBKrVRSf7cmjPRbAxo7vnL4tOvr9ktmbVj4,3829
354
+ osbot_utils/type_safe/Type_Safe__Primitive.py,sha256=Eufm1CSenInqW8gAgULhUAXV_lMmA4UY4A5U9v8qmnU,4135
355
355
  osbot_utils/type_safe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
356
356
  osbot_utils/type_safe/primitives/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
357
357
  osbot_utils/type_safe/primitives/safe_float/Safe_Float.py,sha256=qgmO8S8wFHXA4O3hm4bdamFZ0HkaN_r59hSbUNevHhc,6687
@@ -394,7 +394,7 @@ osbot_utils/type_safe/primitives/safe_str/http/Safe_Str__Http__Text.py,sha256=mi
394
394
  osbot_utils/type_safe/primitives/safe_str/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
395
395
  osbot_utils/type_safe/primitives/safe_str/identifiers/Guid.py,sha256=-WeQzrNj98ay-8rWCBuM-FnhccmygDzZKW1LZ0Frm3M,945
396
396
  osbot_utils/type_safe/primitives/safe_str/identifiers/Random_Guid.py,sha256=86xnlevsiitCzFB-VjjBmXXV14pbcKd67YWEDsYTCFk,483
397
- osbot_utils/type_safe/primitives/safe_str/identifiers/Random_Guid_Short.py,sha256=YP_k5OLuYvXWGU2OEnQHk_OGViBQofTWKm3pUdQaJao,404
397
+ osbot_utils/type_safe/primitives/safe_str/identifiers/Random_Guid_Short.py,sha256=cXye_Bo5cco24FOyXwyN0qotXHc-X4-eQ-ZgOaQrocE,496
398
398
  osbot_utils/type_safe/primitives/safe_str/identifiers/Safe_Id.py,sha256=Mj66QVcEHqUKDFb0cdl7cbMOlQKxfFuRxnupmKo6UG8,696
399
399
  osbot_utils/type_safe/primitives/safe_str/identifiers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
400
400
  osbot_utils/type_safe/primitives/safe_str/text/Safe_Str__Text.py,sha256=95E4ALhah2AEfL-m5JB7XpUOkyxQ0lJQM139RPQJjv4,327
@@ -411,10 +411,10 @@ osbot_utils/type_safe/primitives/safe_uint/Safe_UInt__Percentage.py,sha256=MKD2A
411
411
  osbot_utils/type_safe/primitives/safe_uint/Safe_UInt__Port.py,sha256=gcqi3UaWaFNSktqUTrfdgRKVI5JKWnqxcpi5FlX75J0,496
412
412
  osbot_utils/type_safe/primitives/safe_uint/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
413
413
  osbot_utils/type_safe/type_safe_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
414
- osbot_utils/type_safe/type_safe_core/collections/Type_Safe__Dict.py,sha256=TYb1nXbVqn4bGoagGqr4U__LofpjDllKxiVJCL705PI,3159
415
- osbot_utils/type_safe/type_safe_core/collections/Type_Safe__List.py,sha256=VYlTzDXnreb5s6Ue5AIq-ehxg3jHppOVES0CppjhCsg,2607
416
- osbot_utils/type_safe/type_safe_core/collections/Type_Safe__Set.py,sha256=j12fc8cbd9-s_a13ysaz723rNEW4Dt6hObCd0S-AjIg,1432
417
- osbot_utils/type_safe/type_safe_core/collections/Type_Safe__Tuple.py,sha256=Kx7C4YfHybRbMmVMcmV6yFLi4T48pb592vEZfjjyLxo,1710
414
+ osbot_utils/type_safe/type_safe_core/collections/Type_Safe__Dict.py,sha256=1heFE2F7kLUNOKFMZ2eG7DMidcogsaf6dDruHLFGOr4,3734
415
+ osbot_utils/type_safe/type_safe_core/collections/Type_Safe__List.py,sha256=os5dOU7iKnjKoWt00SLj0Wy_X1RL2iGEErsYvg04tto,2719
416
+ osbot_utils/type_safe/type_safe_core/collections/Type_Safe__Set.py,sha256=jbKLz5Kqo527JWY5Xa4k1c7wqonNz8BYXw22b2O2ov4,2580
417
+ osbot_utils/type_safe/type_safe_core/collections/Type_Safe__Tuple.py,sha256=MEUHVwPDVqPmnZsvxwAhQAQY9JwFsMe2R42z4tWKRN4,3445
418
418
  osbot_utils/type_safe/type_safe_core/collections/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
419
419
  osbot_utils/type_safe/type_safe_core/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
420
420
  osbot_utils/type_safe/type_safe_core/decorators/type_safe.py,sha256=wOTMvZBl5hWMz-HuIRZpPBGN0oSbXWd9wH5xxZkfLlA,1796
@@ -434,9 +434,9 @@ osbot_utils/type_safe/type_safe_core/shared/__init__.py,sha256=47DEQpj8HBSa-_TIm
434
434
  osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__Class_Kwargs.py,sha256=BbMPfCv5-RUZzh-TbyLBvykXZkdkR91jCGJoZ4R697g,8237
435
435
  osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__Default_Kwargs.py,sha256=tzKXDUc0HVP5QvCWsmcPuuZodNvQZ9FeMDNI2x00Ngw,1943
436
436
  osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__Default_Value.py,sha256=mRu0yV3w7Ch1H8SOfXMRqMBp3ooY95yR_oni7JafJBc,4603
437
- osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__From_Json.py,sha256=GTZnGC7DvEBA_LxgLw_KZZ1iVUV0EwyIgcZzoh14Bro,15453
437
+ osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__From_Json.py,sha256=QDVf-cN7aK8_xYdkHS74seSrMYyhurd_MEzgTlUyStg,15712
438
438
  osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__Init.py,sha256=lZpQCCTNt6JcqyWwDoj-9Zgrq10vHXIUBh9lx37vRkE,4990
439
- osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__Set_Attr.py,sha256=uIWa5j7NfYcPDt-QGXErxI29HfM26mXAB-ScHC6ruCU,8507
439
+ osbot_utils/type_safe/type_safe_core/steps/Type_Safe__Step__Set_Attr.py,sha256=ywUYo97jcZkHZ7BJ7GTTuici2obz-Nwch4TcM6ilDcY,9237
440
440
  osbot_utils/type_safe/type_safe_core/steps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
441
441
  osbot_utils/type_safe/validators/Type_Safe__Validator.py,sha256=cJIPSBarjV716SZUOLvz7Mthjk-aUYKUQtRDtKUBmN4,779
442
442
  osbot_utils/type_safe/validators/Validator__Max.py,sha256=pCvYF5Jb_cBgn1ArGhf6FNUB-NGCXPq3D36oYDCyAzg,1275
@@ -458,7 +458,7 @@ osbot_utils/utils/Json.py,sha256=TvfDoXwOkWzWH-9KMnme5C7iFsMZOleAeue92qmkH6g,883
458
458
  osbot_utils/utils/Json_Cache.py,sha256=mLPkkDZN-3ZVJiDvV1KBJXILtKkTZ4OepzOsDoBPhWg,2006
459
459
  osbot_utils/utils/Lists.py,sha256=tPz5x5s3sRO97WZ_nsxREBPC5cwaHrhgaYBhsrffTT8,5599
460
460
  osbot_utils/utils/Misc.py,sha256=H_xexJgiTxB3jDeDiW8efGQbO0Zuy8MM0iQ7qXC92JI,17363
461
- osbot_utils/utils/Objects.py,sha256=ZgAwAI8DM8MhFe37WAr2Di5f9-ig3hgayMEinLCF5tc,13571
461
+ osbot_utils/utils/Objects.py,sha256=fLwnB0bv0vqGBE7uGYUxB4IUNEXjn-rjakYz8mp3VVY,14198
462
462
  osbot_utils/utils/Png.py,sha256=V1juGp6wkpPigMJ8HcxrPDIP4bSwu51oNkLI8YqP76Y,1172
463
463
  osbot_utils/utils/Process.py,sha256=lr3CTiEkN3EiBx3ZmzYmTKlQoPdkgZBRjPulMxG-zdo,2357
464
464
  osbot_utils/utils/Python_Logger.py,sha256=M9Oi62LxfnRSlCN8GhaiwiBINvcSdGy39FCWjyDD-Xg,12792
@@ -470,8 +470,8 @@ osbot_utils/utils/Toml.py,sha256=grjWkVPIMVkawJ499FVIJKxQp8FJ2wcsd0Z3YIR4drM,114
470
470
  osbot_utils/utils/Version.py,sha256=Ww6ChwTxqp1QAcxOnztkTicShlcx6fbNsWX5xausHrg,422
471
471
  osbot_utils/utils/Zip.py,sha256=mG42lgTY0tnm14T3P1-DSAIZKkTiYoO3odZ1aOUdc1I,14394
472
472
  osbot_utils/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
473
- osbot_utils/version,sha256=Fzq3NVCIMMQXS5Ax5-ZrDEOOQhtNlHqqT--cg6GdXic,8
474
- osbot_utils-2.85.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
475
- osbot_utils-2.85.0.dist-info/METADATA,sha256=bQaAW7ALWwWNyVCPZRbHVdPZJjch-N7pvoxbl5nEqTI,7918
476
- osbot_utils-2.85.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
477
- osbot_utils-2.85.0.dist-info/RECORD,,
473
+ osbot_utils/version,sha256=XwHyoJ_wFA2bjrNtuxOF4NM6cnDdMz3jajvwUly7V7w,8
474
+ osbot_utils-2.87.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
475
+ osbot_utils-2.87.0.dist-info/METADATA,sha256=f7H-pt4SZ5tPhp3S_3fP5LXkSbiQnibM-NL8NbIzcVw,7918
476
+ osbot_utils-2.87.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
477
+ osbot_utils-2.87.0.dist-info/RECORD,,