| 38 | |
| 39 | |
| 40 | class CustomJSONEncoder(json.JSONEncoder): |
| 41 | def default(self, obj): |
| 42 | if isinstance(obj, (datetime, Timestamp)): |
| 43 | return obj.isoformat() |
| 44 | return super().default(obj) |
| 45 | |
| 46 | |
| 47 | class FileParserError(Exception): |
nothing calls this directly
no outgoing calls
no test coverage detected