v0.9.8
Added
typed_mergeis now exported from the top-levelyaconfiglibpackage
(from yaconfiglib import typed_merge), alongsideMergeMethod/
ConfigLoaderMergeMethod. It was previously only reachable via the internal
yaconfiglib.utils.mergepath.
Fixed
typed_mergeno longer raisesTypeError: issubclass() arg 1 must be a class
when a field's resolved type hint is a non-class callable (e.g. an
ipaddress-style factory function such asnetutils.IPNetwork). Such a hint is
now treated as an opaque coercer: the last value wins, coerced through the
callable when it accepts the value, otherwise returned unchanged. Class hints are
unaffected.
Full Changelog: v0.9.7...v0.9.8