uncertainty-engine-types 0.10.0__tar.gz → 0.12.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.10.0 → uncertainty_engine_types-0.12.0}/PKG-INFO +1 -1
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/pyproject.toml +1 -1
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/__init__.py +8 -1
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/node_info.py +23 -1
- uncertainty_engine_types-0.12.0/uncertainty_engine_types/version.py +1 -0
- uncertainty_engine_types-0.10.0/uncertainty_engine_types/version.py +0 -1
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/README.md +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/chat_history.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/context.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/dataset.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/embeddings.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/execution_error.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/file.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/graph.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/handle.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/id.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/job.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/llm.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/message.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/model.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/model_config.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/prompt.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/sensor_designer.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/sql.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/token.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/uncertainty_plot.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/utils.py +0 -0
- {uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/vector_store.py +0 -0
|
@@ -25,7 +25,13 @@ from .llm import LLMConfig, LLMProvider
|
|
|
25
25
|
from .message import Message
|
|
26
26
|
from .model import MachineLearningModel
|
|
27
27
|
from .model_config import ModelConfig
|
|
28
|
-
from .node_info import
|
|
28
|
+
from .node_info import (
|
|
29
|
+
NodeInfo,
|
|
30
|
+
NodeInputInfo,
|
|
31
|
+
NodeOutputInfo,
|
|
32
|
+
NodeRequirementsInfo,
|
|
33
|
+
ScalingInfo,
|
|
34
|
+
)
|
|
29
35
|
from .prompt import Prompt
|
|
30
36
|
from .sensor_designer import SensorDesigner
|
|
31
37
|
from .sql import SQLConfig, SQLKind
|
|
@@ -65,6 +71,7 @@ __all__ = [
|
|
|
65
71
|
"Prompt",
|
|
66
72
|
"ResourceID",
|
|
67
73
|
"S3Storage",
|
|
74
|
+
"ScalingInfo",
|
|
68
75
|
"SensorDesigner",
|
|
69
76
|
"SourceHandle",
|
|
70
77
|
"SQLConfig",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from typing import Any, Optional
|
|
2
2
|
|
|
3
|
-
from pydantic import BaseModel
|
|
3
|
+
from pydantic import BaseModel, ConfigDict
|
|
4
4
|
|
|
5
5
|
from .version import __version__
|
|
6
6
|
|
|
@@ -27,6 +27,18 @@ class NodeRequirementsInfo(BaseModel):
|
|
|
27
27
|
timeout: int
|
|
28
28
|
|
|
29
29
|
|
|
30
|
+
class ScalingInfo(BaseModel):
|
|
31
|
+
"""Scaling configuration."""
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(use_attribute_docstrings=True)
|
|
34
|
+
|
|
35
|
+
max: int = 1
|
|
36
|
+
"""Maximum number of service tasks to scale out to."""
|
|
37
|
+
|
|
38
|
+
min: int = 0
|
|
39
|
+
"""Minimum number of service tasks to scale in to."""
|
|
40
|
+
|
|
41
|
+
|
|
30
42
|
class NodeInfo(BaseModel, extra="allow"):
|
|
31
43
|
"""
|
|
32
44
|
Node information.
|
|
@@ -52,7 +64,14 @@ class NodeInfo(BaseModel, extra="allow"):
|
|
|
52
64
|
Deployment requirements.
|
|
53
65
|
"""
|
|
54
66
|
|
|
67
|
+
scaling: ScalingInfo = ScalingInfo()
|
|
68
|
+
"""Scaling configuration."""
|
|
69
|
+
|
|
55
70
|
load_balancer_url: Optional[str] = None
|
|
71
|
+
|
|
72
|
+
queue_name: Optional[str] = None
|
|
73
|
+
"""Name of the node's job queue."""
|
|
74
|
+
|
|
56
75
|
queue_url: Optional[str] = None
|
|
57
76
|
service_arn: Optional[str] = None
|
|
58
77
|
"""
|
|
@@ -63,3 +82,6 @@ class NodeInfo(BaseModel, extra="allow"):
|
|
|
63
82
|
version_types_lib: str = __version__
|
|
64
83
|
version_base_image: int
|
|
65
84
|
version_node: int
|
|
85
|
+
|
|
86
|
+
tags: list[str] = []
|
|
87
|
+
"""Tags associated with the node."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.12.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.9.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/id.py
RENAMED
|
File without changes
|
{uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/job.py
RENAMED
|
File without changes
|
{uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/llm.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uncertainty_engine_types-0.10.0 → uncertainty_engine_types-0.12.0}/uncertainty_engine_types/sql.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|