Skip to content

Commit

Permalink
models:reference_files - add ActionData.replace field as ReplaceAction
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Nov 6, 2023
1 parent abcc17b commit dcb2f83
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 @@ -132,6 +132,7 @@ class RenameAction(BaseModel):
class ActionData(BaseModel):
convert: Optional[list[ConvertAction]] = None
extract: Optional[ExtractAction] = None
replace: Optional[ReplaceAction] = None
manual: Optional[ManualAction] = None
rename: Optional[RenameAction] = None
ignore: Optional[IgnoreAction] = None
Expand All @@ -148,6 +149,7 @@ def action_data(self) -> ActionData:
return ActionData(
convert=self.convert,
extract=self.extract,
replace=self.replace,
manual=self.manual,
rename=self.rename,
ignore=self.ignore,
Expand Down

0 comments on commit dcb2f83

Please sign in to comment.