(self, db_path: str)
| 177 | return obj.isoformat() |
| 178 | if isinstance(obj, Enum): |
| 179 | return obj.value |
| 180 | raise TypeError(f"Object of type {obj.__class__.__name__} is not JSON serializable") |
| 181 | |
| 182 | return json.dumps(value, ensure_ascii=False, default=_default) |
| 183 | |
| 184 | |
| 185 | _FINAL_DELIVERY_PUBLICATION_CAPABILITY = object() |