(value: str)
| 1237 | |
| 1238 | |
| 1239 | def _parse_yaml_value(value: str) -> str | list[str]: |
| 1240 | value = value.strip() |
| 1241 | if value.startswith("[") and value.endswith("]"): |
| 1242 | return _split_inline_yaml_list(value[1:-1]) |
| 1243 | return _parse_yaml_scalar(value) |
| 1244 | |
| 1245 | |
| 1246 | def _parse_domain_rules_yaml(text: str) -> dict[str, list[dict[str, Any]]]: |
no test coverage detected