uncertainty-engine-types 0.8.0__py3-none-any.whl → 0.10.0__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.
@@ -1,6 +1,6 @@
1
- from pydantic import BaseModel
1
+ from pydantic import BaseModel, ConfigDict
2
2
 
3
- from .node_info import NodeInfo
3
+ from uncertainty_engine_types.node_info import NodeInfo
4
4
 
5
5
 
6
6
  class UserContext(BaseModel):
@@ -11,10 +11,30 @@ class UserContext(BaseModel):
11
11
 
12
12
 
13
13
  class Context(BaseModel):
14
+ """The context around an Uncertainty Engine node execution."""
15
+
14
16
  sync: bool
17
+ """Whether to run the node synchronously."""
18
+
15
19
  job_id: str
20
+ """The node execution job ID."""
21
+
16
22
  queue_url: str
23
+ """The node queue URL."""
24
+
17
25
  cache_url: str
26
+ """The node cache URL."""
27
+
18
28
  timeout: int
29
+ """The node timeout in seconds."""
30
+
19
31
  nodes: dict[str, NodeInfo]
32
+ """Dictionary of nodes and their runtime details."""
33
+
20
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
@@ -1 +1 @@
1
- __version__ = "0.8.0"
1
+ __version__ = "0.9.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: uncertainty-engine-types
3
- Version: 0.8.0
3
+ Version: 0.10.0
4
4
  Summary: Common type definitions for the Uncertainty Engine
5
5
  Author: Freddy Wordingham
6
6
  Author-email: freddy@digilab.ai
@@ -1,6 +1,6 @@
1
1
  uncertainty_engine_types/__init__.py,sha256=QxuxItecFrZwOKNgPrdIO7i-YnEH3QAT3__86eTqSV8,1948
2
2
  uncertainty_engine_types/chat_history.py,sha256=OY1fZXP7_AtPKEmgjxh60PlbEGtQWJWafZMgs2Ec0BU,121
3
- uncertainty_engine_types/context.py,sha256=73svFiBdxFgoDb2XMIl1u0qL2bYTZXBfV3ec7Swdj7k,348
3
+ uncertainty_engine_types/context.py,sha256=gi1izptPe05ksem5TGZNIzgzO_QmomzXwTGqvB5I9Sc,914
4
4
  uncertainty_engine_types/dataset.py,sha256=sDpQu5X3KxJ1lNkZOwhppJ2SY0Cv19cbcYfGpp_hyUQ,75
5
5
  uncertainty_engine_types/embeddings.py,sha256=sNDWjpuqmzOefKyQX--9EpdeTEyI4kQeSH4IELVUT7g,982
6
6
  uncertainty_engine_types/execution_error.py,sha256=tvIBuZPM8UhFUERHCEqoW8blAYYuBq1ZqidO0i_BCGs,105
@@ -13,7 +13,7 @@ uncertainty_engine_types/llm.py,sha256=Ae7dw1R5RKLJHFjNwBzynLd-ddikKP0NsvHvoMdmn
13
13
  uncertainty_engine_types/message.py,sha256=sX1tq_BbZC9r9-Vf0A3WHiOFRE2hAAlY-7rD52kbsoU,381
14
14
  uncertainty_engine_types/model.py,sha256=O9E_7DE9AKEc1o2VnhpUyl3Quh4sGdV43gqDJwk-y68,196
15
15
  uncertainty_engine_types/model_config.py,sha256=pCawKIo2l0O3eRLE5Ese7jaxomIyPXGW3XIcAx6TckY,558
16
- uncertainty_engine_types/node_info.py,sha256=XHONP6rNbAcLOHFxi-NPl1-UrKAH9P8C1yUr_rDiyCg,1362
16
+ uncertainty_engine_types/node_info.py,sha256=ifSEkDVcS_B38jXx52nedU-wXe2GHD1Yt8Fqv0V3Ix0,1434
17
17
  uncertainty_engine_types/prompt.py,sha256=l__qXytAapKg1Hoaj3RSVYN3rhy638nuUZIS-se0eMc,74
18
18
  uncertainty_engine_types/sensor_designer.py,sha256=hr3ek4_dRjRK0-78uaT6h8-bGUCm7Mfs6mxJSWxE64c,80
19
19
  uncertainty_engine_types/sql.py,sha256=SBzmgMEZ-sa-OBRoZbmKiOqddop4zJixgxx-JCus9fY,298
@@ -21,7 +21,7 @@ uncertainty_engine_types/token.py,sha256=4tQQkvl-zsYoVk8ZEx0cB2JiU0VDRJ6uUe76XBX
21
21
  uncertainty_engine_types/uncertainty_plot.py,sha256=kJr0SuJ6JeTxaf2adpDNWqx7vVLZRpKG8tFbdx90pas,547
22
22
  uncertainty_engine_types/utils.py,sha256=72QVig8Kb5uIR-e1nofm-3x9CouebdQJIruDbq-aIn0,271
23
23
  uncertainty_engine_types/vector_store.py,sha256=9fYPJ04jWcy2DruyUSjiKQAgmqq-wgeAi5dBIrAOm30,392
24
- uncertainty_engine_types/version.py,sha256=iPlYCcIzuzW7T2HKDkmYlMkRI51dBLfNRxPPiWrfw9U,22
25
- uncertainty_engine_types-0.8.0.dist-info/METADATA,sha256=Js05bSFMWLe9r92idYdPQrodn1bPKPQbq53-4nOyREQ,2815
26
- uncertainty_engine_types-0.8.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
- uncertainty_engine_types-0.8.0.dist-info/RECORD,,
24
+ uncertainty_engine_types/version.py,sha256=H9NWRZb7NbeRRPLP_V1fARmLNXranorVM-OOY-8_2ug,22
25
+ uncertainty_engine_types-0.10.0.dist-info/METADATA,sha256=1GK1FkKrMzPgLQAI78_Oqbjxcb3yxNHH24BtGdEjatM,2816
26
+ uncertainty_engine_types-0.10.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
+ uncertainty_engine_types-0.10.0.dist-info/RECORD,,