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.
Files changed (22) hide show
  1. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/PKG-INFO +1 -1
  2. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/leaf_handlers.py +1 -1
  3. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/runtime.py +2 -3
  4. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/PKG-INFO +1 -1
  5. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/pyproject.toml +1 -1
  6. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/README.md +0 -0
  7. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/__init__.py +0 -0
  8. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/batch.py +0 -0
  9. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/cursor.py +0 -0
  10. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/errors.py +0 -0
  11. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/limits.py +0 -0
  12. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/per_key_cursor.py +0 -0
  13. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime/transport.py +0 -0
  14. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/SOURCES.txt +0 -0
  15. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/dependency_links.txt +0 -0
  16. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/requires.txt +0 -0
  17. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/graphddb_runtime.egg-info/top_level.txt +0 -0
  18. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/setup.cfg +0 -0
  19. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_crosslang_graphddb_cell.py +0 -0
  20. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_crosslang_python_cells.py +0 -0
  21. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_cursor.py +0 -0
  22. {graphddb_runtime-1.2.4 → graphddb_runtime-1.3.0}/tests/test_leaf_handlers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphddb-runtime
3
- Version: 1.2.4
3
+ Version: 1.3.0
4
4
  Summary: The DynamoDB issuance a GraphDDB behavior module binds: the leaf transports, table mapping, AttributeValue codec and cursor codecs.
5
5
  License: MIT
6
6
  Requires-Python: >=3.9
@@ -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`` ``isConditionMiss``; the CCF detector is
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`` (mirroring the TS ``isConditionMiss``,
55
- ``src/leaf/ddb.ts``). Unwraps ``__cause__`` / ``original`` so a wrapped error is
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphddb-runtime
3
- Version: 1.2.4
3
+ Version: 1.3.0
4
4
  Summary: The DynamoDB issuance a GraphDDB behavior module binds: the leaf transports, table mapping, AttributeValue codec and cursor codecs.
5
5
  License: MIT
6
6
  Requires-Python: >=3.9
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "graphddb-runtime"
7
- version = "1.2.4"
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"