Skip to content

Commit

Permalink
Merge pull request #17 from aarhusstadsarkiv/add-suffix-to-extract-ac…
Browse files Browse the repository at this point in the history
…tion

added the file extension to the ExtractAction model, since this data i used by renamer and it is for most files also data that we ahve in the fileformats.yml
  • Loading branch information
Magniler authored Nov 15, 2023
2 parents dc4e81c + 07ac0f3 commit d83af84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acacore/models/reference_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ class ExtractAction(BaseModel):
Attributes:
tool (str): The name of the tool used for extraction.
extension (Optional[str]): The suffix that the file should have. Defaults to None.
dir_suffix (str): The output directory where the extracted data will be saved.
"""

tool: str
extension: Optional[str] = None
dir_suffix: str


Expand Down

0 comments on commit d83af84

Please sign in to comment.