(self, value: Any)
| 51 | return value and str(value) |
| 52 | |
| 53 | def to_python_value(self, value: Any) -> UUID | None: |
| 54 | if value is None or isinstance(value, UUID): |
| 55 | return value |
| 56 | elif self._binary_compression and isinstance(value, bytes): |
| 57 | return UUID(bytes=value) |
| 58 | else: |
| 59 | return UUID(value) |
nothing calls this directly
no outgoing calls
no test coverage detected