vizflow 0.5.15__py3-none-any.whl → 0.5.16__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.
vizflow/__init__.py
CHANGED
vizflow/io.py
CHANGED
|
@@ -48,12 +48,23 @@ def _resolve_schema(
|
|
|
48
48
|
|
|
49
49
|
Returns:
|
|
50
50
|
SchemaEvolution instance or None.
|
|
51
|
+
|
|
52
|
+
Raises:
|
|
53
|
+
ValueError: If schema_ref is a string but not found in the registry.
|
|
51
54
|
"""
|
|
52
55
|
if schema_ref is None:
|
|
53
56
|
return None
|
|
54
57
|
if isinstance(schema_ref, SchemaEvolution):
|
|
55
58
|
return schema_ref
|
|
56
|
-
|
|
59
|
+
schema = get_schema(schema_ref)
|
|
60
|
+
if schema is None:
|
|
61
|
+
from .schema_evolution import SCHEMAS
|
|
62
|
+
|
|
63
|
+
raise ValueError(
|
|
64
|
+
f"Unknown schema: {schema_ref!r}. "
|
|
65
|
+
f"Available: {list(SCHEMAS.keys())}"
|
|
66
|
+
)
|
|
67
|
+
return schema
|
|
57
68
|
|
|
58
69
|
|
|
59
70
|
def _scan_file(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
vizflow/__init__.py,sha256
|
|
1
|
+
vizflow/__init__.py,sha256=-PVzaWXa5y5U-9UPHRNTA4OWf4gvoicgwl9IYCJI-I8,615
|
|
2
2
|
vizflow/config.py,sha256=nPZPXlqQbaY8u_FAdtPShvb0mdx3e2TRaQ2CILzliAU,7192
|
|
3
|
-
vizflow/io.py,sha256=
|
|
3
|
+
vizflow/io.py,sha256=pXDwkqIxbZH5z5L-kygEYokfOiCMGh5L1q7D8l19O3E,12134
|
|
4
4
|
vizflow/market.py,sha256=MtNz_nnZxC66Aq-i2PXEwaFCTknijFWYZUUv6798k2s,2493
|
|
5
5
|
vizflow/ops.py,sha256=cUFeDdWfMk2hG8hpevTz_Dfnzk3fnhTI79UwMGzUkHw,10534
|
|
6
6
|
vizflow/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
vizflow/schema_evolution.py,sha256=1aIQo1hy93yGx19zwU7JdnwNIG_OzBb3TXp8yvtBnz4,21313
|
|
8
8
|
vizflow/viz.py,sha256=dzcY72hWMVbxWIyjwfUW3Ot3CunaP7O4GLVUzzOjkbY,1212
|
|
9
|
-
vizflow-0.5.
|
|
10
|
-
vizflow-0.5.
|
|
11
|
-
vizflow-0.5.
|
|
9
|
+
vizflow-0.5.16.dist-info/METADATA,sha256=FY6mFlU-Wm0D0SQDTXC8Qf2-mPZcocOK9H9iRphRGdE,389
|
|
10
|
+
vizflow-0.5.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
11
|
+
vizflow-0.5.16.dist-info/RECORD,,
|
|
File without changes
|