tba-durability-authority-graph 0.4.0.dev2__py3-none-any.whl
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.
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""Durable authority-graph table operations and specifications."""
|
|
2
|
+
|
|
3
|
+
from tba_storage_authority_graph.tables import AuthorityDerivationGraph as AuthorityGraphTable, AuthorityDerivationGraphEdge as AuthorityGraphEdgeTable, AuthorityDerivationGraphNode as AuthorityGraphNodeTable
|
|
4
|
+
from tigrbl import (
|
|
5
|
+
provideTableHandler,
|
|
6
|
+
deriveTableSpec,
|
|
7
|
+
makeOp,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
record_authority_graph = provideTableHandler(AuthorityGraphTable)
|
|
11
|
+
add_authority_graph_node = provideTableHandler(AuthorityGraphNodeTable)
|
|
12
|
+
add_authority_graph_edge = provideTableHandler(AuthorityGraphEdgeTable)
|
|
13
|
+
|
|
14
|
+
AuthorityGraphRuntimeSpec = deriveTableSpec(
|
|
15
|
+
AuthorityGraphTable,
|
|
16
|
+
ops=(
|
|
17
|
+
makeOp(
|
|
18
|
+
extra={"owner_layer": "30-storage-runtime"},
|
|
19
|
+
expose_routes=False,
|
|
20
|
+
expose_rpc=False,
|
|
21
|
+
expose_method=True,
|
|
22
|
+
tx_scope="read_write",
|
|
23
|
+
alias="record_graph",
|
|
24
|
+
handler=record_authority_graph,
|
|
25
|
+
),
|
|
26
|
+
),
|
|
27
|
+
)
|
|
28
|
+
AuthorityGraphNodeRuntimeSpec = deriveTableSpec(
|
|
29
|
+
AuthorityGraphNodeTable,
|
|
30
|
+
ops=(
|
|
31
|
+
makeOp(
|
|
32
|
+
extra={"owner_layer": "30-storage-runtime"},
|
|
33
|
+
expose_routes=False,
|
|
34
|
+
expose_rpc=False,
|
|
35
|
+
expose_method=True,
|
|
36
|
+
tx_scope="read_write",
|
|
37
|
+
alias="add_node",
|
|
38
|
+
handler=add_authority_graph_node,
|
|
39
|
+
),
|
|
40
|
+
),
|
|
41
|
+
)
|
|
42
|
+
AuthorityGraphEdgeRuntimeSpec = deriveTableSpec(
|
|
43
|
+
AuthorityGraphEdgeTable,
|
|
44
|
+
ops=(
|
|
45
|
+
makeOp(
|
|
46
|
+
extra={"owner_layer": "30-storage-runtime"},
|
|
47
|
+
expose_routes=False,
|
|
48
|
+
expose_rpc=False,
|
|
49
|
+
expose_method=True,
|
|
50
|
+
tx_scope="read_write",
|
|
51
|
+
alias="add_edge",
|
|
52
|
+
handler=add_authority_graph_edge,
|
|
53
|
+
),
|
|
54
|
+
),
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
__all__ = [name for name in globals() if not name.startswith("_")]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tba-durability-authority-graph
|
|
3
|
+
Version: 0.4.0.dev2
|
|
4
|
+
Summary: Durable authority-graph table operations and specifications.
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Requires-Python: >=3.10,<3.15
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
13
|
+
Requires-Dist: tba-storage-authority-graph (==0.4.0.dev2)
|
|
14
|
+
Requires-Dist: tigrbl (==0.4.5.dev8)
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# tba-durability-authority-graph
|
|
18
|
+
|
|
19
|
+
Durable table operations and derived specifications for authority graphs.
|
|
20
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
tba_durability_authority_graph/__init__.py,sha256=SCfbv0lcpevoRPvYSJKNl1Db43TBIZMxG4OKYfD-7uM,1793
|
|
2
|
+
tba_durability_authority_graph/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
tba_durability_authority_graph-0.4.0.dev2.dist-info/METADATA,sha256=6VFjLu0kDtqasNL4Ryfxj6_YABmwTp-iAZTQOhwscx0,758
|
|
4
|
+
tba_durability_authority_graph-0.4.0.dev2.dist-info/WHEEL,sha256=L-WvLdSBvJWHXv5zrQxDvNRnIgoBzLUpcbuiw19KCuQ,88
|
|
5
|
+
tba_durability_authority_graph-0.4.0.dev2.dist-info/RECORD,,
|