Skip to content

Releases: Rud356/ConfigFramework

Minor readme.md fix and dependency update

06 Oct 19:59
3442418
Compare
Choose a tag to compare
2.2.3

Update requirements.txt

Fix docs for rtd

24 Jul 18:18
Compare
Choose a tag to compare
  • Fixed front page
  • Fixed type hinting example in doc

Add description on how to install mypy and docs building dependencies

24 Jul 17:07
Compare
Choose a tag to compare

Many type hinting fixes and docs update

24 Jul 17:01
Compare
Choose a tag to compare
  • Now it's possible to type hint variables just using ConfigVar[desired_type]
  • Replaced invalid type hints with correct ones
  • Update docs
  • Add mypy linter support

Fix docs

26 Jun 21:46
Compare
Choose a tag to compare
2.1.1

Fix docs displaying incorrectly

Add type hint for config variable and pathlib.Path as variable key support

26 Jun 21:39
Compare
Choose a tag to compare

Now you can type hint config variables: see example
Now it's possible to get variables from loaders even with keys written like that:

from pathlib import Path
from ConfigFramework.loaders import DictLoader

base = pathlib.Path("c") / "k"
loader = DictLoader.load(
            {
                "a": 123, "b": 2331,
                "c": {
                    "k": {
                        "some": "value"
                    }
                }
            }
        )

loader.get(base / "some")

Compatibility fix for python 3.10 and code style fixes

23 Apr 17:31
2d081bc
Compare
Choose a tag to compare
2.0.8

Remove python 3.10 since not yet supported

Fix docstrings and docs

17 Apr 19:00
Compare
Choose a tag to compare
2.0.7

Fix sentences in docs

Fix crash on multiple nested configs

02 Apr 22:45
Compare
Choose a tag to compare
2.0.6

Fix multiple nested configs bug which crashed initialization

Fix mistake which broke initialization of variable if it had default value passed as arg and no caster passed as arg

02 Apr 22:21
Compare
Choose a tag to compare
2.0.5

Fix error when having a default value per config var without custom c…