avrotize 2.20.2__tar.gz → 2.20.3__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.
- {avrotize-2.20.2 → avrotize-2.20.3}/PKG-INFO +1 -1
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/_version.py +3 -3
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots.py +2 -2
- {avrotize-2.20.2 → avrotize-2.20.3}/LICENSE +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/README.md +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/__init__.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/__main__.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/asn1toavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotize.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocpp/CMakeLists.txt.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocpp/build.bat.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocpp/build.sh.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocpp/dataclass_body.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocpp/vcpkg.json.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocpp.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsharp/class_test.cs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsharp/dataclass_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsharp/enum_test.cs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsharp/project.csproj.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsharp/project.sln.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsharp/testproject.csproj.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsharp.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotocsv.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotodatapackage.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotodb.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotogo/go_enum.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotogo/go_helpers.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotogo/go_struct.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotogo/go_test.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotogo/go_union.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotogo.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotographql.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotoiceberg.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotojava/class_test.java.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotojava/enum_test.java.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotojava/testproject.pom.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotojava.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotojs.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotojsons.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotojstruct.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotokusto.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotomd/README.md.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotomd.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotools.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotoparquet.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotoproto.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotopython/dataclass_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotopython/enum_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotopython/pyproject_toml.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotopython/test_class.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotopython/test_enum.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotopython.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotorust/dataclass_enum.rs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotorust/dataclass_struct.rs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotorust/dataclass_union.rs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotorust.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots/class_core.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots/class_test.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots/enum_core.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots/gitignore.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots/index.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots/package.json.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotots/tsconfig.json.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/avrotoxsd.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/cddltostructure.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/commands.json +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/common.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/constants.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/csvtoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/datapackagetoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependencies/cpp/vcpkg/vcpkg.json +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependencies/cs/net90/dependencies.csproj +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependencies/go/go121/go.mod +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependencies/java/jdk21/pom.xml +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependencies/python/py312/requirements.txt +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependencies/rust/stable/Cargo.toml +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependencies/typescript/node22/package.json +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependency_resolver.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/dependency_version.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/generic/generic.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/jsonstoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/jsonstostructure.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/jstructtoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/kstructtoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/kustotoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/parquettoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/proto2parser.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/proto3parser.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/any.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/api.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/duration.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/field_mask.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/struct.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/timestamp.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/type.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/prototypes/wrappers.avsc +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocddl.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocpp/CMakeLists.txt.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocpp/build.bat.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocpp/build.sh.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocpp/dataclass_body.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocpp/vcpkg.json.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocpp.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/class_test.cs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/dataclass_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/enum_test.cs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/json_structure_converters.cs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/program.cs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/project.csproj.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/project.sln.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/testproject.csproj.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/tuple_converter.cs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsv.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretodatapackage.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretodb.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretogo/go_enum.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretogo/go_helpers.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretogo/go_interface.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretogo/go_struct.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretogo/go_test.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretogo.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretographql.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretoiceberg.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojava/choice_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojava/class_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojava/enum_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojava/equals_hashcode.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojava/pom.xml.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojava/tuple_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojava.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretojsons.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretokusto.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretomd/README.md.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretomd.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretoproto.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretopython/dataclass_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretopython/enum_core.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretopython/map_alias.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretopython/pyproject_toml.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretopython/test_class.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretopython/test_enum.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretopython.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretorust/dataclass_enum.rs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretorust/dataclass_struct.rs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretorust/dataclass_union.rs.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretorust.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots/class_core.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots/enum_core.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots/gitignore.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots/index.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots/package.json.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots/test_class.ts.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots/tsconfig.json.jinja +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretots.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretoxsd.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/avrotize/xsdtoavro.py +0 -0
- {avrotize-2.20.2 → avrotize-2.20.3}/pyproject.toml +0 -0
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '2.20.
|
|
32
|
-
__version_tuple__ = version_tuple = (2, 20,
|
|
31
|
+
__version__ = version = '2.20.3'
|
|
32
|
+
__version_tuple__ = version_tuple = (2, 20, 3)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g6ab86e24e'
|
|
@@ -266,9 +266,9 @@ class AvroToTypeScript:
|
|
|
266
266
|
first_type = field_type.split('|')[0].strip()
|
|
267
267
|
return self.generate_test_value(first_type, is_enum)
|
|
268
268
|
|
|
269
|
-
# Handle enums - use first value (
|
|
269
|
+
# Handle enums - use first value with Object.values()
|
|
270
270
|
if is_enum:
|
|
271
|
-
return f'{field_type}
|
|
271
|
+
return f'Object.values({field_type})[0] as {field_type}'
|
|
272
272
|
|
|
273
273
|
# Handle primitive types
|
|
274
274
|
primitive_values = {
|
|
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
|
|
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
|
{avrotize-2.20.2 → avrotize-2.20.3}/avrotize/structuretocsharp/json_structure_converters.cs.jinja
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
|