lib.Uri.query_dict: Add property #166

Merged
Jan Lindemann merged 1 commit from jan/feature/20261103-lib-uri-query-dict-add-property into master 2026-11-03 18:30:38 +01:00 AGit
Owner

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.

#### 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.
lib.Uri.query_dict: Add property
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
64f5246d78
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>
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-11-03 17:40:25 +01:00
Jan Lindemann canceled auto merging this pull request when all checks succeed 2026-11-03 17:51:07 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
janware/jw-pkg!166
No description provided.