dataconf icon indicating copy to clipboard operation
dataconf copied to clipboard

Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict/cli support.

Results 5 dataconf issues
Sort by recently updated
recently updated
newest added

See https://github.com/zifeo/dataconf/issues/43#issuecomment-1144148580, not going to be merged till annotations are released.

```py from __future__ import annotations import dataconf from dataclasses import dataclass @dataclass class Model(): token: str dataconf.env("TEST_", Model) ``` Error: ``` Traceback (most recent call last): File "main.py", line 13,...

Minimum failing example: ```py import dataconf from dataclasses import dataclass import pytest @dataclass class Config: experiment_name: str def test_dump(): original = Config('test_dump') dataconf.dump('tmp_config.yml', original, out='yaml') validate = dataconf.file('tmp_config.yml', Config) assert...

Hi, ``` @dataclass class Test: my_var: str dataconf.env("").on(Test) ``` The above will fail in the environment contains a key of the format `xxx_{int}=...` i.e. a string, an underscore and a...