Skip to content

Commit

Permalink
models.reference_files:MasterConvertAction - add model for master con…
Browse files Browse the repository at this point in the history
…vert actions
  • Loading branch information
MatteoCampinoti94 committed Nov 20, 2024
1 parent f23aa42 commit 2172527
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions acacore/models/reference_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,15 @@ def _validate_model(self) -> Self:
return self


class MasterConvertAction(NoDefaultsModel):
"""Class representing the instructions to convert a master file to access and statutory formats."""

name: str
description: str | None = None
access: ConvertAction
statutory: ConvertAction


class ActionData(NoDefaultsModel):
"""
A class representing the data for a specific action.
Expand Down

0 comments on commit 2172527

Please sign in to comment.