pdsx._internal.parsing
argument parsing utilities.
Functions
parse_key_value_args
args: list of key=value strings
- parsed dictionary
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
pdsx._internal.parsingparse_key_value_args parse_key_value_args(args: list[str]) -> dict[str, Any]
args: list of key=value strings>>> parse_key_value_args(["name=test", "count=5", "active=true"])
{'name': 'test', 'count': 5, 'active': True}
>>> parse_key_value_args(['embed={"$type":"blob"}'])
{'embed': {'$type': 'blob'}}