Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Release 0.3.6
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Bunn <stephen@bunn.io>
  • Loading branch information
stephen-bunn committed Mar 15, 2019
1 parent 425a577 commit 12ee289
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ Changelog
.. towncrier release notes start
`0.3.6 <https://github.com/stephen-bunn/file-config/releases/tag/v0.3.6>`_ (*2019-03-15*)
=========================================================================================

Bug Fixes
---------

- Fixing failures when loading from serialized content missing configuration for nested configs `#24 <https://github.com/stephen-bunn/file-config/issues/24>`_

Miscellaneous
-------------

- Adding latest PyPi version badge to documentation and README
- Adding basic auto-generated typing stubs under ``stubs/``


`0.3.5 <https://github.com/stephen-bunn/file-config/releases/tag/v0.3.5>`_ (*2019-02-15*)
=========================================================================================

Expand Down
1 change: 0 additions & 1 deletion news/24.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/pypi-badge.misc

This file was deleted.

1 change: 0 additions & 1 deletion news/typing-stubs.misc

This file was deleted.

4 changes: 3 additions & 1 deletion src/file_config/_file_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ def _build(config_cls, dictionary, validate=False):
if arg_key not in dictionary:
kwargs[var.name] = arg_default
else:
kwargs[var.name] = _build(entry.type, dictionary.get(arg_key, arg_default))
kwargs[var.name] = _build(
entry.type, dictionary.get(arg_key, arg_default)
)
else:
if arg_key not in dictionary:
kwargs[var.name] = arg_default
Expand Down

0 comments on commit 12ee289

Please sign in to comment.