tigrbl-ops-oltp 0.4.2.dev4__tar.gz → 0.4.3.dev4__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 (20) hide show
  1. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/PKG-INFO +3 -2
  2. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/README.md +2 -1
  3. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/pyproject.toml +1 -1
  4. tigrbl_ops_oltp-0.4.3.dev4/tigrbl_ops_oltp/fallback.py +12 -0
  5. tigrbl_ops_oltp-0.4.3.dev4/tigrbl_ops_oltp/rust_handlers.py +15 -0
  6. tigrbl_ops_oltp-0.4.2.dev4/tigrbl_ops_oltp/fallback.py +0 -9
  7. tigrbl_ops_oltp-0.4.2.dev4/tigrbl_ops_oltp/rust_handlers.py +0 -15
  8. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/LICENSE +0 -0
  9. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/NOTICE +0 -0
  10. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/__init__.py +0 -0
  11. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/__init__.py +0 -0
  12. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/bulk.py +0 -0
  13. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/helpers/__init__.py +0 -0
  14. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/helpers/db.py +0 -0
  15. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/helpers/enum.py +0 -0
  16. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/helpers/filters.py +0 -0
  17. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/helpers/model.py +0 -0
  18. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/helpers/normalize.py +0 -0
  19. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/ops.py +0 -0
  20. {tigrbl_ops_oltp-0.4.2.dev4 → tigrbl_ops_oltp-0.4.3.dev4}/tigrbl_ops_oltp/crud/params.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tigrbl-ops-oltp
3
- Version: 0.4.2.dev4
3
+ Version: 0.4.3.dev4
4
4
  Summary: Transactional OLTP operation handlers for Tigrbl CRUD, bulk, REST, JSON-RPC, and database-backed workloads.
5
5
  License: Apache License
6
6
  Version 2.0, January 2004
@@ -308,7 +308,8 @@ pip install tigrbl-ops-oltp
308
308
  `tigrbl-ops-oltp` owns the `operation-family package` boundary. It should be installed when you need this package's focused responsibility without assuming every other Tigrbl workspace package is present.
309
309
 
310
310
  Implementation orientation:
311
- - `tigrbl_ops_oltp`: crud/, fallback, rust_handlers
311
+ - `tigrbl_ops_oltp`: crud/, fallback
312
+ - `tigrbl_ops_oltp.rust_handlers` is a deprecated compatibility shim; handlers are Python-only.
312
313
 
313
314
  ## Public API and Import Surface
314
315
 
@@ -71,7 +71,8 @@ pip install tigrbl-ops-oltp
71
71
  `tigrbl-ops-oltp` owns the `operation-family package` boundary. It should be installed when you need this package's focused responsibility without assuming every other Tigrbl workspace package is present.
72
72
 
73
73
  Implementation orientation:
74
- - `tigrbl_ops_oltp`: crud/, fallback, rust_handlers
74
+ - `tigrbl_ops_oltp`: crud/, fallback
75
+ - `tigrbl_ops_oltp.rust_handlers` is a deprecated compatibility shim; handlers are Python-only.
75
76
 
76
77
  ## Public API and Import Surface
77
78
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tigrbl-ops-oltp"
3
- version = "0.4.2.dev4"
3
+ version = "0.4.3.dev4"
4
4
  description = "Transactional OLTP operation handlers for Tigrbl CRUD, bulk, REST, JSON-RPC, and database-backed workloads."
5
5
  readme = "README.md"
6
6
  license = { file = "LICENSE" }
@@ -0,0 +1,12 @@
1
+ from __future__ import annotations
2
+
3
+ import warnings
4
+
5
+
6
+ def rust_handlers_enabled() -> bool:
7
+ warnings.warn(
8
+ "tigrbl_ops_oltp Rust handler registration is deprecated; handlers are Python-only.",
9
+ DeprecationWarning,
10
+ stacklevel=2,
11
+ )
12
+ return False
@@ -0,0 +1,15 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Callable
4
+ from typing import Any
5
+ import warnings
6
+
7
+
8
+ def register_rust_handler(name: str, callback: Callable[..., Any]) -> str:
9
+ del callback
10
+ warnings.warn(
11
+ "tigrbl_ops_oltp Rust handler registration is deprecated; handlers are Python-only.",
12
+ DeprecationWarning,
13
+ stacklevel=2,
14
+ )
15
+ raise RuntimeError(f"register_rust_handler({name!r}) is unavailable.")
@@ -1,9 +0,0 @@
1
- from __future__ import annotations
2
-
3
-
4
- def rust_handlers_enabled() -> bool:
5
- try:
6
- import tigrbl_runtime.rust # noqa: F401
7
- except Exception:
8
- return False
9
- return True
@@ -1,15 +0,0 @@
1
- from __future__ import annotations
2
-
3
- from collections.abc import Callable
4
- from typing import Any
5
-
6
- try:
7
- from tigrbl_runtime.rust import register_python_handler
8
- except Exception: # pragma: no cover - additive optional integration
9
- register_python_handler = None
10
-
11
-
12
- def register_rust_handler(name: str, callback: Callable[..., Any]) -> str:
13
- if register_python_handler is None:
14
- return f"python-handler:{name}"
15
- return register_python_handler(name, callback)