uncertainty-engine-types 0.8.0__tar.gz → 0.10.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.
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/PKG-INFO +1 -1
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/pyproject.toml +1 -1
- uncertainty_engine_types-0.10.0/uncertainty_engine_types/context.py +40 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/node_info.py +5 -0
- uncertainty_engine_types-0.10.0/uncertainty_engine_types/version.py +1 -0
- uncertainty_engine_types-0.8.0/uncertainty_engine_types/context.py +0 -20
- uncertainty_engine_types-0.8.0/uncertainty_engine_types/version.py +0 -1
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/README.md +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/__init__.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/chat_history.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/dataset.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/embeddings.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/execution_error.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/file.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/graph.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/handle.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/id.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/job.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/llm.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/message.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/model.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/model_config.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/prompt.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/sensor_designer.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/sql.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/token.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/uncertainty_plot.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/utils.py +0 -0
- {uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/vector_store.py +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from pydantic import BaseModel, ConfigDict
|
|
2
|
+
|
|
3
|
+
from uncertainty_engine_types.node_info import NodeInfo
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class UserContext(BaseModel):
|
|
7
|
+
email: str
|
|
8
|
+
project_id: str
|
|
9
|
+
cost_code: str
|
|
10
|
+
user_id: str | None = None
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Context(BaseModel):
|
|
14
|
+
"""The context around an Uncertainty Engine node execution."""
|
|
15
|
+
|
|
16
|
+
sync: bool
|
|
17
|
+
"""Whether to run the node synchronously."""
|
|
18
|
+
|
|
19
|
+
job_id: str
|
|
20
|
+
"""The node execution job ID."""
|
|
21
|
+
|
|
22
|
+
queue_url: str
|
|
23
|
+
"""The node queue URL."""
|
|
24
|
+
|
|
25
|
+
cache_url: str
|
|
26
|
+
"""The node cache URL."""
|
|
27
|
+
|
|
28
|
+
timeout: int
|
|
29
|
+
"""The node timeout in seconds."""
|
|
30
|
+
|
|
31
|
+
nodes: dict[str, NodeInfo]
|
|
32
|
+
"""Dictionary of nodes and their runtime details."""
|
|
33
|
+
|
|
34
|
+
user: UserContext
|
|
35
|
+
"""The context around the user executing the node."""
|
|
36
|
+
|
|
37
|
+
is_root: bool = False
|
|
38
|
+
"""Indicates whether a node is the root node of a workflow."""
|
|
39
|
+
|
|
40
|
+
model_config = ConfigDict(use_attribute_docstrings=True)
|
|
@@ -54,6 +54,11 @@ class NodeInfo(BaseModel, extra="allow"):
|
|
|
54
54
|
|
|
55
55
|
load_balancer_url: Optional[str] = None
|
|
56
56
|
queue_url: Optional[str] = None
|
|
57
|
+
service_arn: Optional[str] = None
|
|
58
|
+
"""
|
|
59
|
+
Service ARN.
|
|
60
|
+
"""
|
|
61
|
+
|
|
57
62
|
cache_url: Optional[str] = None
|
|
58
63
|
version_types_lib: str = __version__
|
|
59
64
|
version_base_image: int
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.9.0"
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
from pydantic import BaseModel
|
|
2
|
-
|
|
3
|
-
from .node_info import NodeInfo
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class UserContext(BaseModel):
|
|
7
|
-
email: str
|
|
8
|
-
project_id: str
|
|
9
|
-
cost_code: str
|
|
10
|
-
user_id: str | None = None
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class Context(BaseModel):
|
|
14
|
-
sync: bool
|
|
15
|
-
job_id: str
|
|
16
|
-
queue_url: str
|
|
17
|
-
cache_url: str
|
|
18
|
-
timeout: int
|
|
19
|
-
nodes: dict[str, NodeInfo]
|
|
20
|
-
user: UserContext
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.8.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/file.py
RENAMED
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/graph.py
RENAMED
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/id.py
RENAMED
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/job.py
RENAMED
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/llm.py
RENAMED
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/sql.py
RENAMED
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/token.py
RENAMED
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.8.0 → uncertainty_engine_types-0.10.0}/uncertainty_engine_types/utils.py
RENAMED
|
File without changes
|
|
File without changes
|