From ace3f13e0c9ab00b1fd806f72d067e5e056a8c7c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 19:28:23 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/decisionengine/framework/dataspace/datablock.py | 2 -- src/decisionengine/framework/dataspace/datasource.py | 1 - src/decisionengine/framework/dataspace/dataspace.py | 1 - src/decisionengine/framework/dataspace/tests/test_Reaper.py | 1 - 4 files changed, 5 deletions(-) diff --git a/src/decisionengine/framework/dataspace/datablock.py b/src/decisionengine/framework/dataspace/datablock.py index 88a017689..1895b1f55 100644 --- a/src/decisionengine/framework/dataspace/datablock.py +++ b/src/decisionengine/framework/dataspace/datablock.py @@ -84,7 +84,6 @@ class InvalidMetadataError(Exception): class Metadata(UserDict): - # Minimum information required for the Metadata dict to be valid required_keys = {"taskmanager_id", "state", "generation_id", "generation_time", "missed_update_count"} @@ -130,7 +129,6 @@ def set_state(self, state): class Header(UserDict): - # Minimum information required for the Header dict to be valid required_keys = { "taskmanager_id", diff --git a/src/decisionengine/framework/dataspace/datasource.py b/src/decisionengine/framework/dataspace/datasource.py index 6fb450a31..2eee1293a 100644 --- a/src/decisionengine/framework/dataspace/datasource.py +++ b/src/decisionengine/framework/dataspace/datasource.py @@ -9,7 +9,6 @@ class DataSource(metaclass=abc.ABCMeta): # pragma: no cover - #: Name of the taskmanager table taskmanager_table = "taskmanager" diff --git a/src/decisionengine/framework/dataspace/dataspace.py b/src/decisionengine/framework/dataspace/dataspace.py index f21e3e79e..c0d453562 100644 --- a/src/decisionengine/framework/dataspace/dataspace.py +++ b/src/decisionengine/framework/dataspace/dataspace.py @@ -54,7 +54,6 @@ class DataSpaceExistsError(Exception): class DataSourceLoader(metaclass=ScopedSingleton): - _ds = None @staticmethod diff --git a/src/decisionengine/framework/dataspace/tests/test_Reaper.py b/src/decisionengine/framework/dataspace/tests/test_Reaper.py index f2830994f..6e0ed83a9 100644 --- a/src/decisionengine/framework/dataspace/tests/test_Reaper.py +++ b/src/decisionengine/framework/dataspace/tests/test_Reaper.py @@ -21,7 +21,6 @@ @pytest.fixture() def config(): - yield { "dataspace": { "retention_interval_in_days": 365,