datavalue 0.1.10__tar.gz → 0.1.12__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datavalue
3
- Version: 0.1.10
3
+ Version: 0.1.12
4
4
  Summary: Librería de tipos de datos primitivos y complejos
5
5
  Author: Specter
6
6
  Requires-Python: >=3.10
@@ -2,7 +2,6 @@
2
2
  import re
3
3
  from typing import Type, Optional, Any, Iterable, Union
4
4
  from .. import exceptions
5
- from .complex_data import ComplexData
6
5
  import json
7
6
 
8
7
  # Classes definition
@@ -31,7 +30,7 @@ class PrimitiveData:
31
30
 
32
31
  # Private methods
33
32
  def _is_match(self, element: Any, schema: Any) -> bool:
34
- if isinstance(schema, (PrimitiveData, ComplexData)):
33
+ if isinstance(schema, PrimitiveData):
35
34
  try:
36
35
  # Si el validador hijo no lanza excepción, el match es exitoso
37
36
  return schema.validate(element)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datavalue
3
- Version: 0.1.10
3
+ Version: 0.1.12
4
4
  Summary: Librería de tipos de datos primitivos y complejos
5
5
  Author: Specter
6
6
  Requires-Python: >=3.10
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "datavalue"
7
- version = "0.1.10"
7
+ version = "0.1.12"
8
8
  description = "Librería de tipos de datos primitivos y complejos"
9
9
  readme = "README.md"
10
10
  authors = [{ name="Specter" }]
File without changes
File without changes