tba-app-backend-policy-decision 0.4.0.dev3__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.
@@ -0,0 +1,19 @@
1
+ Metadata-Version: 2.4
2
+ Name: tba-app-backend-policy-decision
3
+ Version: 0.4.0.dev3
4
+ Summary: Deployable platform policy decision service composition.
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-router-policy-decision (==0.4.0.dev3)
14
+ Description-Content-Type: text/markdown
15
+
16
+ # tba-app-backend-policy-decision
17
+
18
+ Deployment composition for the policy decision router.
19
+
@@ -0,0 +1,3 @@
1
+ # tba-app-backend-policy-decision
2
+
3
+ Deployment composition for the policy decision router.
@@ -0,0 +1,13 @@
1
+ [project]
2
+ name = "tba-app-backend-policy-decision"
3
+ version = "0.4.0.dev3"
4
+ description = "Deployable platform policy decision service composition."
5
+ readme = "README.md"
6
+ requires-python = ">=3.10,<3.15"
7
+ license = "Apache-2.0"
8
+ dependencies = ["tba-router-policy-decision==0.4.0.dev3"]
9
+ [build-system]
10
+ requires = ["poetry-core>=1.0.0"]
11
+ build-backend = "poetry.core.masonry.api"
12
+ [tool.poetry]
13
+ packages = [{include = "tba_app_backend_policy_decision", from = "src"}]
@@ -0,0 +1,6 @@
1
+ from .contract import POLICY_DECISION_BACKEND_APP_CONTRACT, PolicyDecisionBackendAppContract
2
+
3
+ def build_app(router):
4
+ return {"name": "tba-policy-decision", "router": router, "health": "/health"}
5
+
6
+ __all__ = ["POLICY_DECISION_BACKEND_APP_CONTRACT", "PolicyDecisionBackendAppContract", "build_app"]
@@ -0,0 +1,9 @@
1
+ from dataclasses import dataclass
2
+
3
+ @dataclass(frozen=True, slots=True)
4
+ class PolicyDecisionBackendAppContract:
5
+ mounted_router_packages: tuple[str, ...]
6
+
7
+ POLICY_DECISION_BACKEND_APP_CONTRACT = PolicyDecisionBackendAppContract(("tba-router-policy-decision",))
8
+
9
+ __all__ = ["POLICY_DECISION_BACKEND_APP_CONTRACT", "PolicyDecisionBackendAppContract"]