From 1dcb39304261ae91c1af1a41e662cba57e723371 Mon Sep 17 00:00:00 2001 From: docktermj Date: Mon, 28 Oct 2024 12:17:26 -0400 Subject: [PATCH 1/2] #98 Delete destroy --- CHANGELOG.md | 6 ++++++ setup.cfg | 2 +- src/senzing_abstract/szabstractfactory_abstract.py | 14 -------------- tests/szabstractfactory_test.py | 3 --- 4 files changed, 7 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bea0ce8..d2e2cd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning]. ## [Unreleased] +## [0.1.6] - 2024-10-28 + +### Removed in 0.1.6 + +- `SzAbstractFactory.destroy()` + ## [0.1.5] - 2024-10-25 ### Added in 0.1.5 diff --git a/setup.cfg b/setup.cfg index f787653..f84bdc4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = senzing_abstract -version = 0.1.5 +version = 0.1.6 author = senzing author_email = support@senzing.com description = Python SDK method definitions diff --git a/src/senzing_abstract/szabstractfactory_abstract.py b/src/senzing_abstract/szabstractfactory_abstract.py index 6bebfc5..272dc17 100644 --- a/src/senzing_abstract/szabstractfactory_abstract.py +++ b/src/senzing_abstract/szabstractfactory_abstract.py @@ -162,20 +162,6 @@ def create_sz_product(self, **kwargs: Any) -> SzProductAbstract: :language: json """ - @abstractmethod - def destroy(self, **kwargs: Any) -> None: - """ - The `destroy` method ...FIXME: . - - Raises: - - .. collapse:: Example: - - .. literalinclude:: ../../examples/szabstractfactory/destroy.py - :linenos: - :language: python - """ - @abstractmethod def reinitialize(self, config_id: int, **kwargs: Any) -> None: """ diff --git a/tests/szabstractfactory_test.py b/tests/szabstractfactory_test.py index 66c067b..b3ae0c1 100755 --- a/tests/szabstractfactory_test.py +++ b/tests/szabstractfactory_test.py @@ -104,8 +104,5 @@ def create_sz_product(self, **kwargs: Any) -> SzProductAbstract: _ = kwargs return SzProductTest() - def destroy(self, **kwargs: Any) -> None: - _ = kwargs - def reinitialize(self, config_id: int, **kwargs: Any) -> None: _ = kwargs From 518e407e0df7240aeaabb743b53e37de890d8919 Mon Sep 17 00:00:00 2001 From: docktermj Date: Mon, 28 Oct 2024 12:35:44 -0400 Subject: [PATCH 2/2] #98 Delete destroy --- examples/szabstractfactory/destroy.py | 1 - 1 file changed, 1 deletion(-) delete mode 100644 examples/szabstractfactory/destroy.py diff --git a/examples/szabstractfactory/destroy.py b/examples/szabstractfactory/destroy.py deleted file mode 100644 index 21ab5da..0000000 --- a/examples/szabstractfactory/destroy.py +++ /dev/null @@ -1 +0,0 @@ -#! /usr/bin/env python3