Skip to content

Commit

Permalink
Add modified to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
bpepple committed Sep 18, 2024
1 parent c3dc17c commit 0dda728
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion darkseid/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from typing import TYPE_CHECKING, TypedDict

if TYPE_CHECKING:
from datetime import date
from datetime import date, datetime
from decimal import Decimal


Expand Down Expand Up @@ -541,6 +541,8 @@ class Metadata:
tags: list[Basic] = field(default_factory=list)
pages: list[ImageMetadata] = field(default_factory=list)

modified: datetime | None = None

def __post_init__(self: Metadata) -> None:
"""
Executes the post-initialization process for a Metadata instance.
Expand Down

0 comments on commit 0dda728

Please sign in to comment.