Skip to content

Commit 5b362ff

Browse files
authored
339 ant 1 (#341)
* #339 - Add new errors to szerror.py * #339 - Add new errors to szerror.py
1 parent fbc57c2 commit 5b362ff

19 files changed

+36
-65
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning].
77

88
## [Unreleased]
99

10+
## [4.0.1] - 2025-08-07
11+
12+
### Added in 4.0.1
13+
14+
- Additional errors in szerror.py
15+
1016
## [4.0.0] - 2025-08-05
1117

1218
### Changed in 4.0.0

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = senzing
3-
version = 4.0.0
3+
version = 4.0.1
44
author = senzing
55
author_email = support@senzing.com
66
description = Python SDK method definitions

src/senzing/szabstractfactory.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
szabstractfactory.py is the abstract class for all implementations of SzAbstractFactory.
53
@@ -12,7 +10,6 @@
1210
.. _SzAbstractFactoryGrpc: https://garage.senzing.com/sz-sdk-python-grpc/senzing_grpc.html
1311
"""
1412

15-
1613
from abc import ABC, abstractmethod
1714

1815
from .szconfigmanager import SzConfigManager
@@ -24,9 +21,9 @@
2421
# Metadata
2522

2623
__all__ = ["SzAbstractFactory"]
27-
__version__ = "4.0.0"
24+
__version__ = "4.0.1"
2825
__date__ = "2025-08-05"
29-
__updated__ = "2025-08-05"
26+
__updated__ = "2025-08-07"
3027

3128

3229
# -----------------------------------------------------------------------------

src/senzing/szconfig.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
szconfig.py is the abstract class for all implementations of SzConfig.
53
"""
@@ -13,9 +11,9 @@
1311
# Metadata
1412

1513
__all__ = ["SzConfig"]
16-
__version__ = "4.0.0"
14+
__version__ = "4.0.1"
1715
__date__ = "2025-08-05"
18-
__updated__ = "2025-08-05"
16+
__updated__ = "2025-08-07"
1917

2018
# -----------------------------------------------------------------------------
2119
# SzConfig

src/senzing/szconfigmanager.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
szconfigmanager.py is the abstract class for all implementations of SzConfigManager.
53
"""
@@ -14,9 +12,9 @@
1412
# Metadata
1513

1614
__all__ = ["SzConfigManager"]
17-
__version__ = "4.0.0"
15+
__version__ = "4.0.1"
1816
__date__ = "2025-08-05"
19-
__updated__ = "2025-08-05"
17+
__updated__ = "2025-08-07"
2018

2119
# -----------------------------------------------------------------------------
2220
# SzConfigManager

src/senzing/szdiagnostic.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
szdiagnostic.py is the abstract class for all implementations of SzDiagnostic.
53
"""
@@ -11,9 +9,9 @@
119
# Metadata
1210

1311
__all__ = ["SzDiagnostic"]
14-
__version__ = "4.0.0"
12+
__version__ = "4.0.1"
1513
__date__ = "2025-08-05"
16-
__updated__ = "2025-08-05"
14+
__updated__ = "2025-08-07"
1715

1816
# -----------------------------------------------------------------------------
1917
# SzDiagnostic

src/senzing/szengine.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
szengine.py is the abstract class for all implementations of SzEngine.
53
"""
@@ -15,9 +13,9 @@
1513
# Metadata
1614

1715
__all__ = ["SzEngine"]
18-
__version__ = "4.0.0"
16+
__version__ = "4.0.1"
1917
__date__ = "2025-08-05"
20-
__updated__ = "2025-08-05"
18+
__updated__ = "2025-08-07"
2119

2220

2321
# -------------------------------------------------------------------------

src/senzing/szengineflags.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
szengineflags.py has constants that are used when calling Senzing functions.
53
"""
@@ -13,9 +11,9 @@
1311
# Metadata
1412

1513
__all__ = ["SzEngineFlags"]
16-
__version__ = "4.0.0"
14+
__version__ = "4.0.1"
1715
__date__ = "2025-08-05"
18-
__updated__ = "2025-08-05"
16+
__updated__ = "2025-08-07"
1917

2018

2119
# -----------------------------------------------------------------------------

src/senzing/szerror.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#! /usr/bin/env python3
21
"""
32
DO NOT EDIT. This code is generated.
43
Generated by: sz-sdk-errors/bin/generate_python.py
54
Generated for: sz-sdk-python/src/senzing/szerror.py
6-
Generated date: 2025-07-29T15:02:55.924080+00:00
5+
Generated date: 2025-08-07T16:57:13.726146+00:00
76
"""
7+
88
# Metadata
99

1010
__all__ = [
@@ -27,9 +27,9 @@
2727
"SzUnknownDataSourceError",
2828
"SzUnrecoverableError",
2929
]
30-
__version__ = "4.0.0"
30+
__version__ = "4.0.1"
3131
__date__ = "2025-08-05"
32-
__updated__ = "2025-08-05"
32+
__updated__ = "2025-08-07"
3333

3434

3535
# -----------------------------------------------------------------------------
@@ -529,6 +529,8 @@ class SzUnhandledError(SzUnrecoverableError):
529529
9220: SzConfigurationError, # EAS_ERR_FTYPE_CANNOT_BE_HASHED "FType configured to be hashed, but cannot be scored. FTYPE_ID[{0}] FTYPE_CODE[{1}]"
530530
9222: SzConfigurationError, # EAS_ERR_FTYPE_CONFIGURED_TO_BE_HASHED_MISSING_SALT "A Feature Type is marked for hashing, but a valid salt value was not found. FTYPE_ID[{0}] FTYPE_CODE[{1}]"
531531
9224: SzConfigurationError, # EAS_ERR_FTYPE_CONFIGURED_TO_BE_HASHED "FType configured to be hashed, but no hashable data found. FTYPE_ID[{0}] FTYPE_CODE[{1}]"
532+
9225: SzConfigurationError, # EAS_ERR_EMBEDDING_CANDIDATE_LICENSE_DISALLOWS "Embedding FType [{0}] configured for candidates but not allowed by license."
533+
9226: SzBadInputError, # EAS_ERR_FORCED_CANDIDATES_LICENSE_DISALLOWS "Forced candidates are not allowed by license."
532534
9228: SzConfigurationError, # EAS_ERR_UNEXPECTED_SALT_CHECKSUM_LIST "The SALT checksum on the Observation does not match the EXPECTED SALT checksum: EXPECTED=[{0}] Observation=[{1}]"
533535
9240: SzConfigurationError, # EAS_ERR_CIPHER_CONTEXT_INIT_FAILED "Unable to initialize an ICC Context."
534536
9241: SzConfigurationError, # EAS_ERR_CIPHER_OP_FAILED "Unable to perform a required ICC operation."

src/senzing/szproduct.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
szproduct.py is the abstract class for all implementations of SzProduct.
53
"""
@@ -12,9 +10,9 @@
1210
# Metadata
1311

1412
__all__ = ["SzProduct"]
15-
__version__ = "4.0.0"
13+
__version__ = "4.0.1"
1614
__date__ = "2025-08-05"
17-
__updated__ = "2025-08-05"
15+
__updated__ = "2025-08-07"
1816

1917
# -----------------------------------------------------------------------------
2018
# SzProduct

0 commit comments

Comments
 (0)