(x: str | bytes)
| 42 | |
| 43 | |
| 44 | def _always_bytes(x: str | bytes) -> bytes: |
| 45 | return strutils.always_bytes(x, "utf-8", "surrogateescape") |
| 46 | |
| 47 | |
| 48 | # This cannot be easily typed with mypy yet, so we just specify MultiDict without concrete types. |
no outgoing calls
no test coverage detected
searching dependent graphs…