(value: str)
| 1207 | |
| 1208 | |
| 1209 | def _parse_yaml_scalar(value: str) -> str: |
| 1210 | value = value.strip() |
| 1211 | if len(value) >= 2 and value[0] == value[-1] and value[0] in {"'", '"'}: |
| 1212 | return value[1:-1] |
| 1213 | return value |
| 1214 | |
| 1215 | |
| 1216 | def _split_inline_yaml_list(value: str) -> list[str]: |
no outgoing calls
no test coverage detected