graphddb-runtime 1.2.4__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/PKG-INFO +1 -1
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/leaf_handlers.py +1 -1
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/runtime.py +2 -3
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/PKG-INFO +1 -1
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/pyproject.toml +1 -1
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/README.md +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/__init__.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/batch.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/cursor.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/errors.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/limits.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/per_key_cursor.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/transport.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/SOURCES.txt +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/dependency_links.txt +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/requires.txt +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/top_level.txt +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/setup.cfg +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_crosslang_graphddb_cell.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_crosslang_python_cells.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_cursor.py +0 -0
- {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_leaf_handlers.py +0 -0
|
@@ -197,7 +197,7 @@ def leaf_handlers(runtime: Any) -> Dict[str, Callable[..., Mapping[str, Any]]]:
|
|
|
197
197
|
# A condition miss is an EXPECTED OUTCOME of a conditional write, not a
|
|
198
198
|
# transport failure, so a write handler returns ``{"ok": applied}`` rather
|
|
199
199
|
# than raising — the behavior branches on it (the two-stage atomic ADD).
|
|
200
|
-
# This mirrors ``src/leaf/ddb.ts
|
|
200
|
+
# This mirrors the write leaves of ``src/leaf/ddb.ts``; the CCF detector is
|
|
201
201
|
# the runtime's single one (``_is_conditional_check_failure``).
|
|
202
202
|
|
|
203
203
|
def _expr_maps(ports: Mapping[str, Any], request: Dict[str, Any]) -> None:
|
|
@@ -51,9 +51,8 @@ def _is_conditional_check_failure(err: BaseException) -> bool:
|
|
|
51
51
|
``original`` is the boto ``ClientError`` (its ``response.Error.Code`` is
|
|
52
52
|
``ConditionalCheckFailedException``). A fake test client may raise a plain
|
|
53
53
|
exception standing in for the boto error; matched by the exception name / its
|
|
54
|
-
string carrying ``ConditionalCheckFailed
|
|
55
|
-
|
|
56
|
-
detected identically."""
|
|
54
|
+
string carrying ``ConditionalCheckFailed``. Unwraps ``__cause__`` / ``original``
|
|
55
|
+
so a wrapped error is detected identically."""
|
|
57
56
|
seen: set = set()
|
|
58
57
|
stack: List[BaseException] = [err]
|
|
59
58
|
while stack:
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "graphddb-runtime"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.3.0"
|
|
8
8
|
description = "The DynamoDB issuance a GraphDDB behavior module binds: the leaf transports, table mapping, AttributeValue codec and cursor codecs."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|