lib.Uri.query_dict: Add property #166
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20261103-lib-uri-query-dict-add-property"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_dictthat returns None when the Uri has no query and a dictionary of the query's key/value pairs when it does.