structurize 3.7.1__tar.gz → 3.7.2__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.
- {structurize-3.7.1/structurize.egg-info → structurize-3.7.2}/PKG-INFO +1 -1
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/_version.py +3 -3
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/ramltoavro.py +2 -2
- {structurize-3.7.1 → structurize-3.7.2/structurize.egg-info}/PKG-INFO +1 -1
- {structurize-3.7.1 → structurize-3.7.2}/.gitignore +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/LICENSE +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/MANIFEST.in +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/README.md +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/__init__.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/__main__.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/asn1toavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotize.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotocapnproto.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotocpp.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotocsharp.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotocsv.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotocue.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotodatapackage.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotodb.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotoflatbuffers.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotogo.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotographql.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotoiceberg.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotojava.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotojs.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotojsons.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotojstruct.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotojtd.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotokusto.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotomd.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotools.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotoparquet.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotoproto.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotopython.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotoraml.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotorust.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotosmithy.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotosurreal.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotothrift.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotots.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrototsml.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrotoxsd.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/avrovalidator.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/capnprototoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/cddltostructure.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/choice_inference.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/commands.json +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/common.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/constants.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/csvtoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/cuetoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/cuetostructure.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/datapackagetoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/dependencies/cpp/vcpkg/vcpkg.json +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/dependencies/typescript/node22/package.json +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/dependency_resolver.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/dependency_version.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/flatbufferstoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/flatbufferstojstruct.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jsonstoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jsonstostructure.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jsontoschema.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jstructtoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jstructtoflatbuffers.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jstructtoraml.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jstructtosmithy.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jtdtoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/jtdtostructure.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/kstructtoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/kustotoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/kustotojstruct.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/mcp_server.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/openapitostructure.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/parquettoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/proto2parser.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/proto3parser.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/prototoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/ramltojstruct.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/schema_inference.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/smithytoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/smithytojstruct.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/sqltoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretocddl.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretocpp.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretocsharp.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretocsv.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretocue.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretodatapackage.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretodb.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretogo.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretographql.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretoiceberg.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretojava.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretojs.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretojsons.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretojtd.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretokusto.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretomd.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretoparquet.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretoproto.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretopython.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretorust.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretots.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretotsml.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/structuretoxsd.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/surrealtoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/thriftstructure.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/thrifttoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/tmslvalidate.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/validate.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/xmltoschema.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/avrotize/xsdtoavro.py +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/build.ps1 +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/build.sh +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/pyproject.toml +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/setup.cfg +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/structurize.egg-info/SOURCES.txt +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/structurize.egg-info/dependency_links.txt +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/structurize.egg-info/entry_points.txt +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/structurize.egg-info/requires.txt +0 -0
- {structurize-3.7.1 → structurize-3.7.2}/structurize.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: structurize
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.2
|
|
4
4
|
Summary: Tools to convert from and to JSON Structure from various other schema languages.
|
|
5
5
|
Author-email: Clemens Vasters <clemensv@microsoft.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '3.7.
|
|
22
|
-
__version_tuple__ = version_tuple = (3, 7,
|
|
21
|
+
__version__ = version = '3.7.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (3, 7, 2)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'gd9f31b3df'
|
|
@@ -7,7 +7,7 @@ from typing import Any
|
|
|
7
7
|
import yaml
|
|
8
8
|
|
|
9
9
|
from avrotize.common import avro_name, avro_namespace, unique_name
|
|
10
|
-
from avrotize.dependency_resolver import
|
|
10
|
+
from avrotize.dependency_resolver import sort_and_inline_dependencies
|
|
11
11
|
|
|
12
12
|
AvroSchema = dict[str, Any] | list[Any] | str | None
|
|
13
13
|
|
|
@@ -75,7 +75,7 @@ class RamlToAvroConverter:
|
|
|
75
75
|
avro_type = self.convert_named_type(str(type_name), definition)
|
|
76
76
|
if isinstance(avro_type, dict) and avro_type.get("type") in {"record", "enum"}:
|
|
77
77
|
avro_types.append(avro_type)
|
|
78
|
-
return
|
|
78
|
+
return sort_and_inline_dependencies(avro_types) if len(avro_types) > 1 else (avro_types[0] if avro_types else [])
|
|
79
79
|
|
|
80
80
|
def convert_named_type(self, type_name: str, definition: Any) -> AvroSchema:
|
|
81
81
|
raw_name = type_name.rstrip("?")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: structurize
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.2
|
|
4
4
|
Summary: Tools to convert from and to JSON Structure from various other schema languages.
|
|
5
5
|
Author-email: Clemens Vasters <clemensv@microsoft.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{structurize-3.7.1 → structurize-3.7.2}/avrotize/dependencies/typescript/node22/package.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|