uncertainty-engine-types 0.8.0__py3-none-any.whl → 0.9.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)
@@ -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.9.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
@@ -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.9.0.dist-info/METADATA,sha256=NQnQZh0dJ5ntXnaAO8azV2gg0yKsPHoLUVAOIbLPF3U,2815
26
+ uncertainty_engine_types-0.9.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
+ uncertainty_engine_types-0.9.0.dist-info/RECORD,,