Skip to content

Commit

Permalink
105 ant 1 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
antaenc authored Oct 29, 2024
1 parent 7561b0b commit 3bdc452
Show file tree
Hide file tree
Showing 7 changed files with 569 additions and 715 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning].

## [Unreleased]

## [0.1.8] - 2024-10-29

### Changed in 0.1.8

- Modified signatures for preprocess_record to include default flag
- Removed exception_map and moved into szerror.py

## [0.1.7] - 2024-10-28

### Changed in 0.1.7
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = senzing_abstract
version = 0.1.7
version = 0.1.8
author = senzing
author_email = support@senzing.com
description = Python SDK method definitions
Expand Down
16 changes: 7 additions & 9 deletions src/senzing_abstract/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
SZ_VERBOSE_LOGGING,
SZ_WITHOUT_INFO,
)
from .engine_exception_map import (
from .szabstractfactory_abstract import SzAbstractFactoryAbstract
from .szconfig_abstract import SzConfigAbstract
from .szconfigmanager_abstract import SzConfigManagerAbstract
from .szdiagnostic_abstract import SzDiagnosticAbstract
from .szengine_abstract import SzEngineAbstract
from .szengineflags import SzEngineFlags
from .szerror import (
ENGINE_EXCEPTION_MAP,
SzBadInputError,
SzConfigurationError,
Expand All @@ -26,18 +32,10 @@
SzUnknownDataSourceError,
SzUnrecoverableError,
)
from .szabstractfactory_abstract import SzAbstractFactoryAbstract
from .szconfig_abstract import SzConfigAbstract
from .szconfigmanager_abstract import SzConfigManagerAbstract
from .szdiagnostic_abstract import SzDiagnosticAbstract
from .szengine_abstract import SzEngineAbstract
from .szengineflags import SzEngineFlags
from .szerror import new_szexception
from .szproduct_abstract import SzProductAbstract

__all__ = [
"ENGINE_EXCEPTION_MAP",
"new_szexception",
"SZ_INITIALIZE_WITH_DEFAULT_CONFIGURATION",
"SZ_NO_ATTRIBUTES",
"SZ_NO_AVOIDANCES",
Expand Down
576 changes: 0 additions & 576 deletions src/senzing_abstract/engine_exception_map.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/senzing_abstract/szengine_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ def how_entity_by_entity_id(
def preprocess_record(
self,
record_definition: str,
flags: int = 0,
flags: int = SzEngineFlags.SZ_RECORD_DEFAULT_FLAGS,
**kwargs: Any,
) -> str:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/senzing_abstract/szengineflags.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from enum import IntFlag
from typing import List, Union

from .engine_exception_map import SzError
from .szerror import SzError

try:
from typing_extensions import Self # type: ignore[attr-defined,no-redef]
Expand Down
679 changes: 552 additions & 127 deletions src/senzing_abstract/szerror.py

Large diffs are not rendered by default.

0 comments on commit 3bdc452

Please sign in to comment.