jw-python/src/python/jw/util
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann b18b2f0b65
load_yaml: Fix jw.include overriding local content
When jw.include merges content at a target path, the local content in
the main document should take precedence over the included content
(siblings win, and the main file is the ultimate source of truth).

Fix _merge_at_path so that root's existing content at the target path
wins over the value being merged in.

Also update the test_include_override_existing test to reflect the
correct semantics: local content overrides included content.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-20 08:39:54 +02:00
..
algo jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
asyncio jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
auth jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
db jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
graph jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
stree jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
App.py jw.util.Cmds, .Cmd, .App: Use jw.pkg.lib.App + .Cmd 2026-08-12 23:10:11 +00:00
ArgsContainer.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
Bunch.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00
cast.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
Cmd.py jw.util.Cmds, .Cmd, .App: Use jw.pkg.lib.App + .Cmd 2026-08-12 23:10:11 +00:00
Config.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
CppState.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00
enum_helper.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
func_tools.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
ldap.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00
load_yaml.py load_yaml: Fix jw.include overriding local content 2026-08-20 08:39:54 +02:00
log.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
Makefile Makefile: Include py-topdir.mk 2026-06-12 04:55:47 +02:00
misc.py misc.frame_parameters(): Add function 2026-08-12 23:10:13 +00:00
multi_key_dict.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
Object.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00
Options.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00
Process.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00
py.typed jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
RedirectStdIO.py jw.util, jwutils: Follow jw-pkg's move to isort 2026-08-12 23:10:13 +00:00
Signals.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00
StopWatch.py mypy: Fix no_untyped_defs 2026-08-12 23:10:13 +00:00