(value: str | PathLike[str] | bytes, name: str)
| 44 | |
| 45 | |
| 46 | def str_to_bytes(value: str | PathLike[str] | bytes, name: str) -> bytes: |
| 47 | if not isinstance(value, str): |
| 48 | raise TypeError(f'{name} must be a string') |
| 49 | |
| 50 | return to_bytes(value) |
| 51 | |
| 52 | |
| 53 | class ConfigIterator: |
no test coverage detected
searching dependent graphs…