(cls, v: str, paramname: str)
| 226 | |
| 227 | @classmethod |
| 228 | def _assert_str(cls, v: str, paramname: str) -> str: |
| 229 | if not isinstance(v, str): |
| 230 | raise TypeError("%s must be a string" % paramname) |
| 231 | return v |
| 232 | |
| 233 | @classmethod |
| 234 | def _assert_none_str( |
no outgoing calls
no test coverage detected