metadata updates

This commit is contained in:
Jack Cushman 2025-02-05 15:47:05 -05:00
parent a1532df719
commit 9ccee0d422
7 changed files with 165 additions and 34 deletions

View file

@ -10,4 +10,11 @@ def load_config():
config = json.loads(CONFIG_PATH.read_text())
else:
config = {}
return config
return config
def json_default(obj):
"""Default JSON encoder for serializing datetime objects."""
if hasattr(obj, 'isoformat'):
return obj.isoformat()
return super().default(obj)