jw-pkg/test/unit/python/jw/pkg/lib/Uri
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 64f5246d78
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m58s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m49s
CI / Packaging test (pull_request) Successful in 0s
lib.Uri.query_dict: Add property
Uri exposes the query as a raw string only, so a consumer that wants the
query's key/value pairs has to parse the string itself with urllib.parse.

Add a cached property query_dict that returns None when the Uri has no
query and a dictionary of the query's key/value pairs when it does.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-03 17:40:21 +01:00
..
Makefile test: Move unit tests below jw/pkg 2026-06-25 20:57:05 +02:00
test.py lib.Uri.query_dict: Add property 2026-11-03 17:40:21 +01:00