scjson 0.2.1__tar.gz → 0.2.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.
Files changed (29) hide show
  1. {scjson-0.2.1/scjson.egg-info → scjson-0.2.2}/PKG-INFO +1 -1
  2. {scjson-0.2.1 → scjson-0.2.2}/pyproject.toml +1 -1
  3. {scjson-0.2.1 → scjson-0.2.2}/scjson/jinja_gen.py +1 -1
  4. {scjson-0.2.1 → scjson-0.2.2/scjson.egg-info}/PKG-INFO +1 -1
  5. {scjson-0.2.1 → scjson-0.2.2}/LEGAL.md +0 -0
  6. {scjson-0.2.1 → scjson-0.2.2}/LICENSE +0 -0
  7. {scjson-0.2.1 → scjson-0.2.2}/MANIFEST.in +0 -0
  8. {scjson-0.2.1 → scjson-0.2.2}/README.md +0 -0
  9. {scjson-0.2.1 → scjson-0.2.2}/scjson/CaseStyle.py +0 -0
  10. {scjson-0.2.1 → scjson-0.2.2}/scjson/SCXMLDocumentHandler.py +0 -0
  11. {scjson-0.2.1 → scjson-0.2.2}/scjson/__init__.py +0 -0
  12. {scjson-0.2.1 → scjson-0.2.2}/scjson/__main__.py +0 -0
  13. {scjson-0.2.1 → scjson-0.2.2}/scjson/cli.py +0 -0
  14. {scjson-0.2.1 → scjson-0.2.2}/scjson/dataclasses/__init__.py +0 -0
  15. {scjson-0.2.1 → scjson-0.2.2}/scjson/dataclasses/generated.py +0 -0
  16. {scjson-0.2.1 → scjson-0.2.2}/scjson/dataclasses_strict/__init__.py +0 -0
  17. {scjson-0.2.1 → scjson-0.2.2}/scjson/dataclasses_strict/generated.py +0 -0
  18. {scjson-0.2.1 → scjson-0.2.2}/scjson/pydantic/__init__.py +0 -0
  19. {scjson-0.2.1 → scjson-0.2.2}/scjson/pydantic/generated.py +0 -0
  20. {scjson-0.2.1 → scjson-0.2.2}/scjson/pydantic_strict/__init__.py +0 -0
  21. {scjson-0.2.1 → scjson-0.2.2}/scjson/pydantic_strict/generated.py +0 -0
  22. {scjson-0.2.1 → scjson-0.2.2}/scjson.egg-info/SOURCES.txt +0 -0
  23. {scjson-0.2.1 → scjson-0.2.2}/scjson.egg-info/dependency_links.txt +0 -0
  24. {scjson-0.2.1 → scjson-0.2.2}/scjson.egg-info/entry_points.txt +0 -0
  25. {scjson-0.2.1 → scjson-0.2.2}/scjson.egg-info/requires.txt +0 -0
  26. {scjson-0.2.1 → scjson-0.2.2}/scjson.egg-info/top_level.txt +0 -0
  27. {scjson-0.2.1 → scjson-0.2.2}/setup.cfg +0 -0
  28. {scjson-0.2.1 → scjson-0.2.2}/tests/__pycache__/test_cli.cpython-310-pytest-8.4.1.pyc +0 -0
  29. {scjson-0.2.1 → scjson-0.2.2}/tests/test_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scjson
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A JSON-based serialization of SCXML (State Chart XML) for modern tooling, interoperability, and education.
5
5
  Author-email: Ira Abbott <ira@mycloud.blue>
6
6
  License: BSD-1-Clause
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scjson"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "A JSON-based serialization of SCXML (State Chart XML) for modern tooling, interoperability, and education."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.8"
@@ -51,6 +51,7 @@ class JinjaGenPydantic(object):
51
51
  self.env.globals.update(str=str)
52
52
  self.env.globals.update( get_field_default=JinjaGenPydantic._get_default_value,
53
53
  get_field_type=JinjaGenPydantic._get_field_type,
54
+ get_schema_types=JinjaGenPydantic._get_schema_types,
54
55
  list_join=JinjaGenPydantic._list_join,
55
56
  is_field_enum=JinjaGenPydantic._is_field_enum,
56
57
  )
@@ -215,7 +216,6 @@ class JinjaGenPydantic(object):
215
216
  ret_val.append(sep.join(join_list))
216
217
  return ("\n" + indent * " " + sep).join(ret_val)
217
218
 
218
-
219
219
  def _check_props(self, objekt, name) -> bool:
220
220
  """Check for missing props and update from references."""
221
221
  is_ok = True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scjson
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A JSON-based serialization of SCXML (State Chart XML) for modern tooling, interoperability, and education.
5
5
  Author-email: Ira Abbott <ira@mycloud.blue>
6
6
  License: BSD-1-Clause
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