(value: str, match_type_of: typing.AnyStr)
| 85 | |
| 86 | |
| 87 | def to_bytes_or_str(value: str, match_type_of: typing.AnyStr) -> typing.AnyStr: |
| 88 | return value if isinstance(match_type_of, str) else value.encode() |
| 89 | |
| 90 | |
| 91 | def unquote(value: str) -> str: |
no outgoing calls
no test coverage detected