jw-python/src/python/jw/util
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 20c08f0957
load_yaml: Improve module and function docs
The module has no docstring, so the include/link/inplace-link
extensions and their path rules are only discoverable by reading the
code.  _parse_link() claims a named link 'uses a single pipe' even
though pipes may appear in the target path after the first one, and
_expand_links() does not say that a jw.link node with sibling keys is
not a link at all (the key is kept as-is), which is the behavior a
typo in a link node silently produces.

Add a module docstring describing the three extensions, the relative
path rules, and the known limitations (dotted keys cannot be
addressed, path navigation cannot traverse link nodes).  Correct the
_parse_link() pipe rule, note the sibling-key behavior and the error
types in _expand_links(), and fix the 'stays at the current level'
wording, since a single dot resolves within the dict that contains
the link.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-25 19:35:03 +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
obj obj.Object: Add _name() 2026-08-24 18:15:47 +02: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: Improve module and function docs 2026-08-25 19:35:03 +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 Object: Move into obj.Object 2026-08-22 11:17:28 +02: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