Skip to content

Commit

Permalink
Added an action field to thr primary file model. This is goind to be …
Browse files Browse the repository at this point in the history
…used by convertool and should also be added to digiarch
  • Loading branch information
Magnus Lindholm committed Sep 20, 2023
1 parent 6f28d0f commit 9271ea3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acacore/models/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class File(ACABase):
file_size_in_bytes: int
signature: Optional[str]
warning: Optional[str] = None
action: Optional[str] = None

def get_absolute_path(self, root: Optional[Path] = None) -> Path:
return root.joinpath(self.relative_path) if root else self.relative_path.resolve()
Expand Down

0 comments on commit 9271ea3

Please sign in to comment.