dataconf 3.4.0__tar.gz → 3.5.0__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.1
2
2
  Name: dataconf
3
- Version: 3.4.0
3
+ Version: 3.5.0
4
4
  Summary: Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict support.
5
5
  Home-page: https://github.com/zifeo/dataconf
6
6
  License: MPL-2.0
@@ -85,7 +85,7 @@ def __parse(value: any, clazz: Type, path: str, strict: bool, ignore_unexpected:
85
85
  val = f.default
86
86
  if is_dataclass(val):
87
87
  # if val is a dataclass, convert to ConfigTree
88
- val = ConfigTree(asdict(val))
88
+ val = ConfigFactory.from_dict(asdict(val))
89
89
 
90
90
  if not isinstance(val, _MISSING_TYPE):
91
91
  fs[f.name] = __parse(
@@ -1,6 +1,6 @@
1
1
  import sys
2
2
 
3
- __version__ = "3.4.0"
3
+ __version__ = "3.5.0"
4
4
 
5
5
  PY310up = sys.version_info >= (3, 10)
6
6
  PY311up = sys.version_info >= (3, 11)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "dataconf"
3
- version = "3.4.0"
3
+ version = "3.5.0"
4
4
  description = "Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict support."
5
5
  authors = []
6
6
  license = "MPL-2.0"
@@ -48,7 +48,7 @@ ruff = ">=0.11.2"
48
48
 
49
49
  [tool.commitizen]
50
50
  name = "cz_conventional_commits"
51
- version = "3.4.0"
51
+ version = "3.5.0"
52
52
  tag_format = "v$major.$minor.$patch$prerelease"
53
53
  version_files = [
54
54
  "pyproject.toml:version",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes