From b34b110083eef5882b5c97dad6eceb313e652695 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 20 Nov 2023 14:31:19 +0100 Subject: [PATCH 1/3] models:file - fix incorrect action property name --- acacore/models/file.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acacore/models/file.py b/acacore/models/file.py index 6bca4de..ab3de33 100644 --- a/acacore/models/file.py +++ b/acacore/models/file.py @@ -128,7 +128,7 @@ def from_file( file.action = file.action_data.reidentify.onfail else: file.action = "manual" - file.action_data = ActionData(manual=ManualAction(reasoning="Re-identify failure", process="")) + file.action_data = ActionData(manual=ManualAction(reason="Re-identify failure", process="")) file.puid = file.signature = file.warning = None if file.action_data and file.action_data.ignore and file.action_data.ignore.ignore_if: @@ -141,13 +141,13 @@ def from_file( or height < (ignore_if.pixel_height or 0) ): file.action = "ignore" - file.action_data.ignore.reasoning = ignore_if.reason or file.action_data.ignore.reasoning + file.action_data.ignore.reason = ignore_if.reason or file.action_data.ignore.reason elif file.is_binary and file.size < (ignore_if.binary_size or 0): # noqa: SIM114 file.action = "ignore" - file.action_data.ignore.reasoning = ignore_if.reason or file.action_data.ignore.reasoning + file.action_data.ignore.reason = ignore_if.reason or file.action_data.ignore.reason elif file.size < (ignore_if.size or 0): file.action = "ignore" - file.action_data.ignore.reasoning = ignore_if.reason or file.action_data.ignore.reasoning + file.action_data.ignore.reason = ignore_if.reason or file.action_data.ignore.reason return file From 48f9cc8228801340a7ce702ba32471c656f062f5 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 20 Nov 2023 14:31:29 +0100 Subject: [PATCH 2/3] version - patch 1.1.0 > 1.1.1 --- acacore/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acacore/__version__.py b/acacore/__version__.py index 6849410..a82b376 100644 --- a/acacore/__version__.py +++ b/acacore/__version__.py @@ -1 +1 @@ -__version__ = "1.1.0" +__version__ = "1.1.1" From dd498cc6dc634cd862fe93cd352908896a4e74b5 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 20 Nov 2023 14:31:29 +0100 Subject: [PATCH 3/3] poetry - version patch 1.1.0 > 1.1.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d4d3877..557275f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "acacore" -version = "1.1.0" +version = "1.1.1" description = "" authors = ["Matteo Campinoti "] license = "GPL-3.0"