Render as the raw payload, matching ``int`` / ``str`` enum expectations.
(self: Enum)
| 248 | return NotImplemented |
| 249 | |
| 250 | def _payload_enum_str(self: Enum) -> str: |
| 251 | """Render as the raw payload, matching ``int`` / ``str`` enum expectations.""" |
| 252 | return str(self.value) # type: ignore[attr-defined] |
| 253 | |
| 254 | def _payload_enum_hash(self: Enum) -> int: |
| 255 | """Hash like the raw payload so equality and hashing stay consistent.""" |
nothing calls this directly
no outgoing calls
no test coverage detected