(value: Any)
| 23 | |
| 24 | |
| 25 | def option_value(value: Any) -> str: |
| 26 | if isinstance(value, bool): |
| 27 | return "true" if value else "false" |
| 28 | if isinstance(value, (dict, list)): |
| 29 | return json.dumps(value, ensure_ascii=False, separators=(",", ":")) |
| 30 | return str(value) |
| 31 | |
| 32 | |
| 33 | def append_key_values(command: list[str], flag: str, values: dict[str, Any]) -> None: |
no outgoing calls
no test coverage detected