Return a JSON'able representation of the object. If the object cannot be formatted by this formatter, warn and return None.
(self, obj)
| 253 | |
| 254 | @abc.abstractmethod |
| 255 | def __call__(self, obj): |
| 256 | """Return a JSON'able representation of the object. |
| 257 | |
| 258 | If the object cannot be formatted by this formatter, |
| 259 | warn and return None. |
| 260 | """ |
| 261 | return repr(obj) |
| 262 | |
| 263 | |
| 264 | def _mod_name_key(typ): |
nothing calls this directly
no outgoing calls
no test coverage detected