dinkster-engine 0.0.3__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.
- dinkster_engine/__init__.py +75 -0
- dinkster_engine/compile.py +871 -0
- dinkster_engine/control.py +108 -0
- dinkster_engine/engine.py +3345 -0
- dinkster_engine/events.py +38 -0
- dinkster_engine/expansion.py +231 -0
- dinkster_engine/py.typed +0 -0
- dinkster_engine/testing.py +115 -0
- dinkster_engine-0.0.3.dist-info/METADATA +6 -0
- dinkster_engine-0.0.3.dist-info/RECORD +19 -0
- dinkster_engine-0.0.3.dist-info/WHEEL +4 -0
- dinkster_graph/__init__.py +61 -0
- dinkster_graph/lower.py +126 -0
- dinkster_graph/migrate.py +70 -0
- dinkster_graph/model.py +223 -0
- dinkster_graph/plan.py +113 -0
- dinkster_graph/py.typed +0 -0
- dinkster_graph/validate.py +1442 -0
- dinkster_graph/wire.py +356 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# The execution-boundary contracts live in dinkster_protocol (the leaf both
|
|
2
|
+
# the engine and its workers/caches depend on); re-exported here because
|
|
3
|
+
# they are part of the engine's own API - Engine consumes Workers and
|
|
4
|
+
# CacheStores and produces Invocations.
|
|
5
|
+
from dinkster_protocol import (
|
|
6
|
+
CacheKey,
|
|
7
|
+
CacheStore,
|
|
8
|
+
Invocation,
|
|
9
|
+
InvocationEvent,
|
|
10
|
+
InvocationResult,
|
|
11
|
+
NodeError,
|
|
12
|
+
OnInvocationEvent,
|
|
13
|
+
Worker,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
from .compile import (
|
|
17
|
+
AdmittedGraph,
|
|
18
|
+
CompiledGraph,
|
|
19
|
+
GraphAdmissionError,
|
|
20
|
+
GraphAdmissionOrigin,
|
|
21
|
+
GraphCompileError,
|
|
22
|
+
GraphCompileTransport,
|
|
23
|
+
ParentGraphBudget,
|
|
24
|
+
VirtualGraphJoin,
|
|
25
|
+
admit_parent_graph,
|
|
26
|
+
)
|
|
27
|
+
from .engine import (
|
|
28
|
+
ActiveRunIdError,
|
|
29
|
+
Engine,
|
|
30
|
+
ExecutionArm,
|
|
31
|
+
ExecutionError,
|
|
32
|
+
ExecutionRuntime,
|
|
33
|
+
ExecutionSelection,
|
|
34
|
+
GraphValidationError,
|
|
35
|
+
PinExecution,
|
|
36
|
+
PlanExecution,
|
|
37
|
+
ProviderResolutionError,
|
|
38
|
+
ResolveProviders,
|
|
39
|
+
RunResult,
|
|
40
|
+
)
|
|
41
|
+
from .events import EngineEvent, EventListener
|
|
42
|
+
|
|
43
|
+
__all__ = [
|
|
44
|
+
"ActiveRunIdError",
|
|
45
|
+
"AdmittedGraph",
|
|
46
|
+
"CacheKey",
|
|
47
|
+
"CacheStore",
|
|
48
|
+
"CompiledGraph",
|
|
49
|
+
"Engine",
|
|
50
|
+
"EngineEvent",
|
|
51
|
+
"EventListener",
|
|
52
|
+
"ExecutionArm",
|
|
53
|
+
"ExecutionError",
|
|
54
|
+
"ExecutionRuntime",
|
|
55
|
+
"ExecutionSelection",
|
|
56
|
+
"GraphAdmissionError",
|
|
57
|
+
"GraphAdmissionOrigin",
|
|
58
|
+
"GraphValidationError",
|
|
59
|
+
"GraphCompileError",
|
|
60
|
+
"GraphCompileTransport",
|
|
61
|
+
"Invocation",
|
|
62
|
+
"InvocationEvent",
|
|
63
|
+
"InvocationResult",
|
|
64
|
+
"NodeError",
|
|
65
|
+
"OnInvocationEvent",
|
|
66
|
+
"ParentGraphBudget",
|
|
67
|
+
"PlanExecution",
|
|
68
|
+
"ProviderResolutionError",
|
|
69
|
+
"ResolveProviders",
|
|
70
|
+
"PinExecution",
|
|
71
|
+
"RunResult",
|
|
72
|
+
"VirtualGraphJoin",
|
|
73
|
+
"Worker",
|
|
74
|
+
"admit_parent_graph",
|
|
75
|
+
]
|