beamlit 0.0.34rc79__py3-none-any.whl → 0.0.35__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.
- beamlit/api/workspaces/workspace_quotas_request.py +97 -0
- beamlit/deploy/deploy.py +3 -1
- beamlit/models/__init__.py +0 -2
- beamlit/models/agent_spec.py +9 -0
- beamlit/models/core_spec.py +9 -0
- beamlit/models/function_spec.py +9 -0
- beamlit/models/integration_connection_spec.py +9 -0
- beamlit/models/model_spec.py +9 -9
- beamlit/models/workspace.py +9 -0
- {beamlit-0.0.34rc79.dist-info → beamlit-0.0.35.dist-info}/METADATA +1 -1
- {beamlit-0.0.34rc79.dist-info → beamlit-0.0.35.dist-info}/RECORD +12 -11
- {beamlit-0.0.34rc79.dist-info → beamlit-0.0.35.dist-info}/WHEEL +0 -0
@@ -0,0 +1,97 @@
|
|
1
|
+
from http import HTTPStatus
|
2
|
+
from typing import Any, Optional, Union
|
3
|
+
|
4
|
+
import httpx
|
5
|
+
|
6
|
+
from ... import errors
|
7
|
+
from ...client import AuthenticatedClient, Client
|
8
|
+
from ...types import Response
|
9
|
+
|
10
|
+
|
11
|
+
def _get_kwargs(
|
12
|
+
workspace_name: str,
|
13
|
+
) -> dict[str, Any]:
|
14
|
+
_kwargs: dict[str, Any] = {
|
15
|
+
"method": "put",
|
16
|
+
"url": f"/workspaces/{workspace_name}/quotas",
|
17
|
+
}
|
18
|
+
|
19
|
+
return _kwargs
|
20
|
+
|
21
|
+
|
22
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Any]:
|
23
|
+
if response.status_code == 200:
|
24
|
+
return None
|
25
|
+
if client.raise_on_unexpected_status:
|
26
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
27
|
+
else:
|
28
|
+
return None
|
29
|
+
|
30
|
+
|
31
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
|
32
|
+
return Response(
|
33
|
+
status_code=HTTPStatus(response.status_code),
|
34
|
+
content=response.content,
|
35
|
+
headers=response.headers,
|
36
|
+
parsed=_parse_response(client=client, response=response),
|
37
|
+
)
|
38
|
+
|
39
|
+
|
40
|
+
def sync_detailed(
|
41
|
+
workspace_name: str,
|
42
|
+
*,
|
43
|
+
client: AuthenticatedClient,
|
44
|
+
) -> Response[Any]:
|
45
|
+
"""Request workspace quotas
|
46
|
+
|
47
|
+
Send a request to update quotas for a workspace.
|
48
|
+
|
49
|
+
Args:
|
50
|
+
workspace_name (str):
|
51
|
+
|
52
|
+
Raises:
|
53
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
54
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
55
|
+
|
56
|
+
Returns:
|
57
|
+
Response[Any]
|
58
|
+
"""
|
59
|
+
|
60
|
+
kwargs = _get_kwargs(
|
61
|
+
workspace_name=workspace_name,
|
62
|
+
)
|
63
|
+
|
64
|
+
response = client.get_httpx_client().request(
|
65
|
+
**kwargs,
|
66
|
+
)
|
67
|
+
|
68
|
+
return _build_response(client=client, response=response)
|
69
|
+
|
70
|
+
|
71
|
+
async def asyncio_detailed(
|
72
|
+
workspace_name: str,
|
73
|
+
*,
|
74
|
+
client: AuthenticatedClient,
|
75
|
+
) -> Response[Any]:
|
76
|
+
"""Request workspace quotas
|
77
|
+
|
78
|
+
Send a request to update quotas for a workspace.
|
79
|
+
|
80
|
+
Args:
|
81
|
+
workspace_name (str):
|
82
|
+
|
83
|
+
Raises:
|
84
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
85
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
86
|
+
|
87
|
+
Returns:
|
88
|
+
Response[Any]
|
89
|
+
"""
|
90
|
+
|
91
|
+
kwargs = _get_kwargs(
|
92
|
+
workspace_name=workspace_name,
|
93
|
+
)
|
94
|
+
|
95
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
96
|
+
|
97
|
+
return _build_response(client=client, response=response)
|
beamlit/deploy/deploy.py
CHANGED
@@ -227,7 +227,7 @@ def clean_auto_generated(
|
|
227
227
|
except yaml.YAMLError:
|
228
228
|
continue
|
229
229
|
|
230
|
-
def generate_beamlit_deployment(directory: str):
|
230
|
+
def generate_beamlit_deployment(directory: str, name: str):
|
231
231
|
"""
|
232
232
|
Generates all necessary deployment files for Beamlit agents and functions.
|
233
233
|
|
@@ -247,6 +247,8 @@ def generate_beamlit_deployment(directory: str):
|
|
247
247
|
agents: list[tuple[Resource, Agent]] = []
|
248
248
|
for resource in get_resources("agent", settings.server.directory):
|
249
249
|
agent = get_beamlit_deployment_from_resource(resource)
|
250
|
+
if name and agent.metadata.name != name:
|
251
|
+
agent.metadata.name = slugify(name)
|
250
252
|
if agent:
|
251
253
|
agents.append((resource, agent))
|
252
254
|
for resource in get_resources("function", settings.server.directory):
|
beamlit/models/__init__.py
CHANGED
@@ -59,7 +59,6 @@ from .metrics_rps_per_code import MetricsRpsPerCode
|
|
59
59
|
from .model import Model
|
60
60
|
from .model_metadata import ModelMetadata
|
61
61
|
from .model_private_cluster import ModelPrivateCluster
|
62
|
-
from .model_provider import ModelProvider
|
63
62
|
from .model_release import ModelRelease
|
64
63
|
from .model_spec import ModelSpec
|
65
64
|
from .owner_fields import OwnerFields
|
@@ -188,7 +187,6 @@ __all__ = (
|
|
188
187
|
"Model",
|
189
188
|
"ModelMetadata",
|
190
189
|
"ModelPrivateCluster",
|
191
|
-
"ModelProvider",
|
192
190
|
"ModelRelease",
|
193
191
|
"ModelSpec",
|
194
192
|
"OwnerFields",
|
beamlit/models/agent_spec.py
CHANGED
@@ -32,6 +32,7 @@ class AgentSpec:
|
|
32
32
|
policies (Union[Unset, list[str]]):
|
33
33
|
private_clusters (Union[Unset, ModelPrivateCluster]): Private cluster where the model deployment is deployed
|
34
34
|
runtime (Union[Unset, Runtime]): Set of configurations for a deployment
|
35
|
+
sandbox (Union[Unset, bool]): Sandbox mode
|
35
36
|
serverless_config (Union[Unset, ServerlessConfig]): Configuration for a serverless deployment
|
36
37
|
agent_chain (Union[Unset, list['AgentChain']]): Agent chain
|
37
38
|
description (Union[Unset, str]): Agent description
|
@@ -49,6 +50,7 @@ class AgentSpec:
|
|
49
50
|
policies: Union[Unset, list[str]] = UNSET
|
50
51
|
private_clusters: Union[Unset, "ModelPrivateCluster"] = UNSET
|
51
52
|
runtime: Union[Unset, "Runtime"] = UNSET
|
53
|
+
sandbox: Union[Unset, bool] = UNSET
|
52
54
|
serverless_config: Union[Unset, "ServerlessConfig"] = UNSET
|
53
55
|
agent_chain: Union[Unset, list["AgentChain"]] = UNSET
|
54
56
|
description: Union[Unset, str] = UNSET
|
@@ -92,6 +94,8 @@ class AgentSpec:
|
|
92
94
|
if self.runtime and not isinstance(self.runtime, Unset):
|
93
95
|
runtime = self.runtime.to_dict()
|
94
96
|
|
97
|
+
sandbox = self.sandbox
|
98
|
+
|
95
99
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
96
100
|
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
97
101
|
serverless_config = self.serverless_config.to_dict()
|
@@ -136,6 +140,8 @@ class AgentSpec:
|
|
136
140
|
field_dict["privateClusters"] = private_clusters
|
137
141
|
if runtime is not UNSET:
|
138
142
|
field_dict["runtime"] = runtime
|
143
|
+
if sandbox is not UNSET:
|
144
|
+
field_dict["sandbox"] = sandbox
|
139
145
|
if serverless_config is not UNSET:
|
140
146
|
field_dict["serverlessConfig"] = serverless_config
|
141
147
|
if agent_chain is not UNSET:
|
@@ -208,6 +214,8 @@ class AgentSpec:
|
|
208
214
|
else:
|
209
215
|
runtime = Runtime.from_dict(_runtime)
|
210
216
|
|
217
|
+
sandbox = d.pop("sandbox", UNSET)
|
218
|
+
|
211
219
|
_serverless_config = d.pop("serverlessConfig", UNSET)
|
212
220
|
serverless_config: Union[Unset, ServerlessConfig]
|
213
221
|
if isinstance(_serverless_config, Unset):
|
@@ -246,6 +254,7 @@ class AgentSpec:
|
|
246
254
|
policies=policies,
|
247
255
|
private_clusters=private_clusters,
|
248
256
|
runtime=runtime,
|
257
|
+
sandbox=sandbox,
|
249
258
|
serverless_config=serverless_config,
|
250
259
|
agent_chain=agent_chain,
|
251
260
|
description=description,
|
beamlit/models/core_spec.py
CHANGED
@@ -30,6 +30,7 @@ class CoreSpec:
|
|
30
30
|
policies (Union[Unset, list[str]]):
|
31
31
|
private_clusters (Union[Unset, ModelPrivateCluster]): Private cluster where the model deployment is deployed
|
32
32
|
runtime (Union[Unset, Runtime]): Set of configurations for a deployment
|
33
|
+
sandbox (Union[Unset, bool]): Sandbox mode
|
33
34
|
serverless_config (Union[Unset, ServerlessConfig]): Configuration for a serverless deployment
|
34
35
|
"""
|
35
36
|
|
@@ -41,6 +42,7 @@ class CoreSpec:
|
|
41
42
|
policies: Union[Unset, list[str]] = UNSET
|
42
43
|
private_clusters: Union[Unset, "ModelPrivateCluster"] = UNSET
|
43
44
|
runtime: Union[Unset, "Runtime"] = UNSET
|
45
|
+
sandbox: Union[Unset, bool] = UNSET
|
44
46
|
serverless_config: Union[Unset, "ServerlessConfig"] = UNSET
|
45
47
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
46
48
|
|
@@ -78,6 +80,8 @@ class CoreSpec:
|
|
78
80
|
if self.runtime and not isinstance(self.runtime, Unset):
|
79
81
|
runtime = self.runtime.to_dict()
|
80
82
|
|
83
|
+
sandbox = self.sandbox
|
84
|
+
|
81
85
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
82
86
|
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
83
87
|
serverless_config = self.serverless_config.to_dict()
|
@@ -101,6 +105,8 @@ class CoreSpec:
|
|
101
105
|
field_dict["privateClusters"] = private_clusters
|
102
106
|
if runtime is not UNSET:
|
103
107
|
field_dict["runtime"] = runtime
|
108
|
+
if sandbox is not UNSET:
|
109
|
+
field_dict["sandbox"] = sandbox
|
104
110
|
if serverless_config is not UNSET:
|
105
111
|
field_dict["serverlessConfig"] = serverless_config
|
106
112
|
|
@@ -159,6 +165,8 @@ class CoreSpec:
|
|
159
165
|
else:
|
160
166
|
runtime = Runtime.from_dict(_runtime)
|
161
167
|
|
168
|
+
sandbox = d.pop("sandbox", UNSET)
|
169
|
+
|
162
170
|
_serverless_config = d.pop("serverlessConfig", UNSET)
|
163
171
|
serverless_config: Union[Unset, ServerlessConfig]
|
164
172
|
if isinstance(_serverless_config, Unset):
|
@@ -175,6 +183,7 @@ class CoreSpec:
|
|
175
183
|
policies=policies,
|
176
184
|
private_clusters=private_clusters,
|
177
185
|
runtime=runtime,
|
186
|
+
sandbox=sandbox,
|
178
187
|
serverless_config=serverless_config,
|
179
188
|
)
|
180
189
|
|
beamlit/models/function_spec.py
CHANGED
@@ -32,6 +32,7 @@ class FunctionSpec:
|
|
32
32
|
policies (Union[Unset, list[str]]):
|
33
33
|
private_clusters (Union[Unset, ModelPrivateCluster]): Private cluster where the model deployment is deployed
|
34
34
|
runtime (Union[Unset, Runtime]): Set of configurations for a deployment
|
35
|
+
sandbox (Union[Unset, bool]): Sandbox mode
|
35
36
|
serverless_config (Union[Unset, ServerlessConfig]): Configuration for a serverless deployment
|
36
37
|
description (Union[Unset, str]): Function description, very important for the agent function to work with an LLM
|
37
38
|
kit (Union[Unset, list['FunctionKit']]): The kit of the function deployment
|
@@ -48,6 +49,7 @@ class FunctionSpec:
|
|
48
49
|
policies: Union[Unset, list[str]] = UNSET
|
49
50
|
private_clusters: Union[Unset, "ModelPrivateCluster"] = UNSET
|
50
51
|
runtime: Union[Unset, "Runtime"] = UNSET
|
52
|
+
sandbox: Union[Unset, bool] = UNSET
|
51
53
|
serverless_config: Union[Unset, "ServerlessConfig"] = UNSET
|
52
54
|
description: Union[Unset, str] = UNSET
|
53
55
|
kit: Union[Unset, list["FunctionKit"]] = UNSET
|
@@ -89,6 +91,8 @@ class FunctionSpec:
|
|
89
91
|
if self.runtime and not isinstance(self.runtime, Unset):
|
90
92
|
runtime = self.runtime.to_dict()
|
91
93
|
|
94
|
+
sandbox = self.sandbox
|
95
|
+
|
92
96
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
93
97
|
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
94
98
|
serverless_config = self.serverless_config.to_dict()
|
@@ -130,6 +134,8 @@ class FunctionSpec:
|
|
130
134
|
field_dict["privateClusters"] = private_clusters
|
131
135
|
if runtime is not UNSET:
|
132
136
|
field_dict["runtime"] = runtime
|
137
|
+
if sandbox is not UNSET:
|
138
|
+
field_dict["sandbox"] = sandbox
|
133
139
|
if serverless_config is not UNSET:
|
134
140
|
field_dict["serverlessConfig"] = serverless_config
|
135
141
|
if description is not UNSET:
|
@@ -198,6 +204,8 @@ class FunctionSpec:
|
|
198
204
|
else:
|
199
205
|
runtime = Runtime.from_dict(_runtime)
|
200
206
|
|
207
|
+
sandbox = d.pop("sandbox", UNSET)
|
208
|
+
|
201
209
|
_serverless_config = d.pop("serverlessConfig", UNSET)
|
202
210
|
serverless_config: Union[Unset, ServerlessConfig]
|
203
211
|
if isinstance(_serverless_config, Unset):
|
@@ -232,6 +240,7 @@ class FunctionSpec:
|
|
232
240
|
policies=policies,
|
233
241
|
private_clusters=private_clusters,
|
234
242
|
runtime=runtime,
|
243
|
+
sandbox=sandbox,
|
235
244
|
serverless_config=serverless_config,
|
236
245
|
description=description,
|
237
246
|
kit=kit,
|
@@ -20,11 +20,13 @@ class IntegrationConnectionSpec:
|
|
20
20
|
Attributes:
|
21
21
|
config (Union[Unset, IntegrationConnectionConfig]): Integration config
|
22
22
|
integration (Union[Unset, str]): Integration type
|
23
|
+
sandbox (Union[Unset, bool]): Sandbox mode
|
23
24
|
secret (Union[Unset, IntegrationConnectionSecret]): Integration secret
|
24
25
|
"""
|
25
26
|
|
26
27
|
config: Union[Unset, "IntegrationConnectionConfig"] = UNSET
|
27
28
|
integration: Union[Unset, str] = UNSET
|
29
|
+
sandbox: Union[Unset, bool] = UNSET
|
28
30
|
secret: Union[Unset, "IntegrationConnectionSecret"] = UNSET
|
29
31
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
30
32
|
|
@@ -35,6 +37,8 @@ class IntegrationConnectionSpec:
|
|
35
37
|
|
36
38
|
integration = self.integration
|
37
39
|
|
40
|
+
sandbox = self.sandbox
|
41
|
+
|
38
42
|
secret: Union[Unset, dict[str, Any]] = UNSET
|
39
43
|
if self.secret and not isinstance(self.secret, Unset):
|
40
44
|
secret = self.secret.to_dict()
|
@@ -46,6 +50,8 @@ class IntegrationConnectionSpec:
|
|
46
50
|
field_dict["config"] = config
|
47
51
|
if integration is not UNSET:
|
48
52
|
field_dict["integration"] = integration
|
53
|
+
if sandbox is not UNSET:
|
54
|
+
field_dict["sandbox"] = sandbox
|
49
55
|
if secret is not UNSET:
|
50
56
|
field_dict["secret"] = secret
|
51
57
|
|
@@ -68,6 +74,8 @@ class IntegrationConnectionSpec:
|
|
68
74
|
|
69
75
|
integration = d.pop("integration", UNSET)
|
70
76
|
|
77
|
+
sandbox = d.pop("sandbox", UNSET)
|
78
|
+
|
71
79
|
_secret = d.pop("secret", UNSET)
|
72
80
|
secret: Union[Unset, IntegrationConnectionSecret]
|
73
81
|
if isinstance(_secret, Unset):
|
@@ -78,6 +86,7 @@ class IntegrationConnectionSpec:
|
|
78
86
|
integration_connection_spec = cls(
|
79
87
|
config=config,
|
80
88
|
integration=integration,
|
89
|
+
sandbox=sandbox,
|
81
90
|
secret=secret,
|
82
91
|
)
|
83
92
|
|
beamlit/models/model_spec.py
CHANGED
@@ -30,8 +30,8 @@ class ModelSpec:
|
|
30
30
|
policies (Union[Unset, list[str]]):
|
31
31
|
private_clusters (Union[Unset, ModelPrivateCluster]): Private cluster where the model deployment is deployed
|
32
32
|
runtime (Union[Unset, Runtime]): Set of configurations for a deployment
|
33
|
+
sandbox (Union[Unset, bool]): Sandbox mode
|
33
34
|
serverless_config (Union[Unset, ServerlessConfig]): Configuration for a serverless deployment
|
34
|
-
model_provider (Union[Unset, str]): Model provider name
|
35
35
|
"""
|
36
36
|
|
37
37
|
configurations: Union[Unset, "CoreSpecConfigurations"] = UNSET
|
@@ -42,8 +42,8 @@ class ModelSpec:
|
|
42
42
|
policies: Union[Unset, list[str]] = UNSET
|
43
43
|
private_clusters: Union[Unset, "ModelPrivateCluster"] = UNSET
|
44
44
|
runtime: Union[Unset, "Runtime"] = UNSET
|
45
|
+
sandbox: Union[Unset, bool] = UNSET
|
45
46
|
serverless_config: Union[Unset, "ServerlessConfig"] = UNSET
|
46
|
-
model_provider: Union[Unset, str] = UNSET
|
47
47
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
48
48
|
|
49
49
|
def to_dict(self) -> dict[str, Any]:
|
@@ -80,12 +80,12 @@ class ModelSpec:
|
|
80
80
|
if self.runtime and not isinstance(self.runtime, Unset):
|
81
81
|
runtime = self.runtime.to_dict()
|
82
82
|
|
83
|
+
sandbox = self.sandbox
|
84
|
+
|
83
85
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
84
86
|
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
85
87
|
serverless_config = self.serverless_config.to_dict()
|
86
88
|
|
87
|
-
model_provider = self.model_provider
|
88
|
-
|
89
89
|
field_dict: dict[str, Any] = {}
|
90
90
|
field_dict.update(self.additional_properties)
|
91
91
|
field_dict.update({})
|
@@ -105,10 +105,10 @@ class ModelSpec:
|
|
105
105
|
field_dict["privateClusters"] = private_clusters
|
106
106
|
if runtime is not UNSET:
|
107
107
|
field_dict["runtime"] = runtime
|
108
|
+
if sandbox is not UNSET:
|
109
|
+
field_dict["sandbox"] = sandbox
|
108
110
|
if serverless_config is not UNSET:
|
109
111
|
field_dict["serverlessConfig"] = serverless_config
|
110
|
-
if model_provider is not UNSET:
|
111
|
-
field_dict["modelProvider"] = model_provider
|
112
112
|
|
113
113
|
return field_dict
|
114
114
|
|
@@ -165,6 +165,8 @@ class ModelSpec:
|
|
165
165
|
else:
|
166
166
|
runtime = Runtime.from_dict(_runtime)
|
167
167
|
|
168
|
+
sandbox = d.pop("sandbox", UNSET)
|
169
|
+
|
168
170
|
_serverless_config = d.pop("serverlessConfig", UNSET)
|
169
171
|
serverless_config: Union[Unset, ServerlessConfig]
|
170
172
|
if isinstance(_serverless_config, Unset):
|
@@ -172,8 +174,6 @@ class ModelSpec:
|
|
172
174
|
else:
|
173
175
|
serverless_config = ServerlessConfig.from_dict(_serverless_config)
|
174
176
|
|
175
|
-
model_provider = d.pop("modelProvider", UNSET)
|
176
|
-
|
177
177
|
model_spec = cls(
|
178
178
|
configurations=configurations,
|
179
179
|
enabled=enabled,
|
@@ -183,8 +183,8 @@ class ModelSpec:
|
|
183
183
|
policies=policies,
|
184
184
|
private_clusters=private_clusters,
|
185
185
|
runtime=runtime,
|
186
|
+
sandbox=sandbox,
|
186
187
|
serverless_config=serverless_config,
|
187
|
-
model_provider=model_provider,
|
188
188
|
)
|
189
189
|
|
190
190
|
model_spec.additional_properties = d
|
beamlit/models/workspace.py
CHANGED
@@ -24,6 +24,7 @@ class Workspace:
|
|
24
24
|
display_name (Union[Unset, str]): Workspace display name
|
25
25
|
labels (Union[Unset, WorkspaceLabels]): Workspace labels
|
26
26
|
name (Union[Unset, str]): Workspace name
|
27
|
+
quotasomitempty (Union[Unset, Any]): Workspace quotas
|
27
28
|
region (Union[Unset, str]): Workspace write region
|
28
29
|
"""
|
29
30
|
|
@@ -34,6 +35,7 @@ class Workspace:
|
|
34
35
|
display_name: Union[Unset, str] = UNSET
|
35
36
|
labels: Union[Unset, "WorkspaceLabels"] = UNSET
|
36
37
|
name: Union[Unset, str] = UNSET
|
38
|
+
quotasomitempty: Union[Unset, Any] = UNSET
|
37
39
|
region: Union[Unset, str] = UNSET
|
38
40
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
39
41
|
|
@@ -54,6 +56,8 @@ class Workspace:
|
|
54
56
|
|
55
57
|
name = self.name
|
56
58
|
|
59
|
+
quotasomitempty = self.quotasomitempty
|
60
|
+
|
57
61
|
region = self.region
|
58
62
|
|
59
63
|
field_dict: dict[str, Any] = {}
|
@@ -73,6 +77,8 @@ class Workspace:
|
|
73
77
|
field_dict["labels"] = labels
|
74
78
|
if name is not UNSET:
|
75
79
|
field_dict["name"] = name
|
80
|
+
if quotasomitempty is not UNSET:
|
81
|
+
field_dict["quotas,omitempty"] = quotasomitempty
|
76
82
|
if region is not UNSET:
|
77
83
|
field_dict["region"] = region
|
78
84
|
|
@@ -104,6 +110,8 @@ class Workspace:
|
|
104
110
|
|
105
111
|
name = d.pop("name", UNSET)
|
106
112
|
|
113
|
+
quotasomitempty = d.pop("quotas,omitempty", UNSET)
|
114
|
+
|
107
115
|
region = d.pop("region", UNSET)
|
108
116
|
|
109
117
|
workspace = cls(
|
@@ -114,6 +122,7 @@ class Workspace:
|
|
114
122
|
display_name=display_name,
|
115
123
|
labels=labels,
|
116
124
|
name=name,
|
125
|
+
quotasomitempty=quotasomitempty,
|
117
126
|
region=region,
|
118
127
|
)
|
119
128
|
|
@@ -123,6 +123,7 @@ beamlit/api/workspaces/list_workspaces.py,sha256=BlR-80_w45RakHxsPufmQ6U2Raw9LjY
|
|
123
123
|
beamlit/api/workspaces/remove_workspace_user.py,sha256=AxEG15Vwe-dFspQD21pYqEjsY-RO0_K-eoLpdkY-VEc,2667
|
124
124
|
beamlit/api/workspaces/update_workspace.py,sha256=qa5DV2UJSUYuB_ibALb4E9ghKpT1HaEIzIb9MOcDKv4,4241
|
125
125
|
beamlit/api/workspaces/update_workspace_user_role.py,sha256=Yn9iuJ4tKtauzBiJyU4-wYUMS9g98X2Om8zs7UkzrY8,4917
|
126
|
+
beamlit/api/workspaces/workspace_quotas_request.py,sha256=aGWzbRZDgxlB20Jaj02x4YUBFpLSYbw9QW79kCLn6x0,2464
|
126
127
|
beamlit/authentication/__init__.py,sha256=wiXqRbc7E-ulrH_ueA9duOGFvXeo7-RvhSD1XbFogMo,1020
|
127
128
|
beamlit/authentication/apikey.py,sha256=KNBTgdi0VBzBAAmSwU2X1QoB58vRbg8wkXb8-GTZCQo,657
|
128
129
|
beamlit/authentication/authentication.py,sha256=ODQCc00RvCOZNaiGG5ctylNnE-JVCugePyJedJ0NYsM,3361
|
@@ -138,7 +139,7 @@ beamlit/common/settings.py,sha256=OL1pZLB3BgN7QPCz9VR7gjYb-LoYpelilS7rU7FubCE,39
|
|
138
139
|
beamlit/common/slugify.py,sha256=nR29r37IdWS2i44ZC6ZsXRgqKPYmvMGtFQ7BuIQUTlc,90
|
139
140
|
beamlit/common/utils.py,sha256=jouz5igBvT37Xn_e94-foCHyQczVim-UzVcoIF6RWJ4,657
|
140
141
|
beamlit/deploy/__init__.py,sha256=GS7l7Jtm2yKs7iNLKcfjYO-rAhUzggQ3xiYSf3oxLBY,91
|
141
|
-
beamlit/deploy/deploy.py,sha256=
|
142
|
+
beamlit/deploy/deploy.py,sha256=J5VvXWeyIyz6CWy2ctld28T7sVfas-kiJZ1nx6Zw7t0,10374
|
142
143
|
beamlit/deploy/format.py,sha256=U6UZEFAYLnGJJ7O2YmSdlUUFhnWNGAv6NZ-DW4KTgvI,2049
|
143
144
|
beamlit/deploy/parser.py,sha256=Ga0poCZkoRnuTw082QnTcNGCBJncoRAnVsn8-1FsaJE,6907
|
144
145
|
beamlit/functions/__init__.py,sha256=NcQPZZNfWhAJ1T1F6Xn21LFPMbZ7aMR2Sve3uZOkBCQ,170
|
@@ -153,7 +154,7 @@ beamlit/functions/mcp/mcp.py,sha256=-LL7O35vTlcYfF1MSlEY83rBKKShJTaHB-y9MRPAEiU,
|
|
153
154
|
beamlit/functions/remote/remote.py,sha256=AL8WhD7yXZ18h3iU4vE9E4JtJt0n_i-ZwlbBDoolnEs,3767
|
154
155
|
beamlit/functions/search/__init__.py,sha256=5NAthQ9PBwrkNg1FpLRx4flauvv0HyWuwaVS589c1Pw,49
|
155
156
|
beamlit/functions/search/search.py,sha256=8s9ECltq7YE17j6rTxb12uY2EQY4_eTLHmwlIMThI0w,515
|
156
|
-
beamlit/models/__init__.py,sha256=
|
157
|
+
beamlit/models/__init__.py,sha256=DB2EBTVX5lTO7CzXvZaqiPtgc9n8SMPu59zGD5_Vvno,9652
|
157
158
|
beamlit/models/acl.py,sha256=tH67gsl_BMaviSbTaaIkO1g9cWZgJ6VgAnYVjQSzGZY,3952
|
158
159
|
beamlit/models/agent.py,sha256=w2f_d_nLGVHW7blklH34Nmm2TI3MCoEiQN3HMVga5XI,4002
|
159
160
|
beamlit/models/agent_chain.py,sha256=8PN8wVSayS-LoBN2nahZsOmr6r3t62H_LPDK_8fnkM8,2255
|
@@ -162,12 +163,12 @@ beamlit/models/agent_history_event.py,sha256=Ed_xaedwLEPNuM807Ldj5xqUBj4Eua9NqpC
|
|
162
163
|
beamlit/models/agent_metadata.py,sha256=61A7i-2lfQrozV3Be2nRfGO-K1vch7FYDdWzt_Cr3oo,4606
|
163
164
|
beamlit/models/agent_release.py,sha256=AXtHX_Ze7cMh2tKnRw2usRWnLf2B9u_iFPTF6WYdJLM,1928
|
164
165
|
beamlit/models/agent_render.py,sha256=gAlf83vJ3AOGVwvFgs_EThe2cQVa8Lo5JXUiV_y9XUg,1221
|
165
|
-
beamlit/models/agent_spec.py,sha256=
|
166
|
+
beamlit/models/agent_spec.py,sha256=DXX42C1t295Skb0U-13Bs-R6VKKsX0I8kpsGELrblF4,11427
|
166
167
|
beamlit/models/api_key.py,sha256=oKuqDF0xe2Z2-6yJqulbzlXEQyM3W7lvQn6FXCktaaU,4278
|
167
168
|
beamlit/models/configuration.py,sha256=KujTXl7iihrPcL0jX0hgxN0xAAwMgJsTaFKcMBpCVLs,2761
|
168
169
|
beamlit/models/continent.py,sha256=_gQJci2_MUmCiGGG4iCMnUDTww9OqcTsNVqwPVigy3U,1880
|
169
170
|
beamlit/models/core_event.py,sha256=L9GQh2rRPM1RC042IUJHEazha1gHqdNb9XN44zjawSs,2321
|
170
|
-
beamlit/models/core_spec.py,sha256=
|
171
|
+
beamlit/models/core_spec.py,sha256=c4w61e05ktvt5w7dvuyiyiCj7dK9-sjWR_0Vs9_t1oI,8332
|
171
172
|
beamlit/models/core_spec_configurations.py,sha256=Yx_uUwWxlfBmV3SgDoqX3ERgrpbFNzvKn5CtqxtAv9A,2223
|
172
173
|
beamlit/models/core_status.py,sha256=nCxzTiQxaRzA084NrU1srY2Du-nio59sXxxXCHjzBak,1216
|
173
174
|
beamlit/models/country.py,sha256=IYUZ6ErVduc3vmB01UEN8nIi6h5htupqFvyhRqEmKW4,1870
|
@@ -185,7 +186,7 @@ beamlit/models/function_kit.py,sha256=VrwV4EOrEqs8QgyaI7MyevRCCt2fhsTkOzfQVWXojt
|
|
185
186
|
beamlit/models/function_metadata.py,sha256=cfx10NiqQY4VlQUyl8fH2-kiWpVmOmi8rZhepan2SrQ,4624
|
186
187
|
beamlit/models/function_release.py,sha256=T8SuLZBBdgGDvUg3sVluocvrKTvNxzZ6Wq3kjK4lYk4,1955
|
187
188
|
beamlit/models/function_render.py,sha256=MD2oNhEE15I6BtqLX8O9sD1jbm0vSyVKWHr_CPFjd0s,1239
|
188
|
-
beamlit/models/function_spec.py,sha256=
|
189
|
+
beamlit/models/function_spec.py,sha256=LbRF-JwTLuaRKZbu1ZiRDc1js6UAES4BfpIfJtD0vsE,10840
|
189
190
|
beamlit/models/get_trace_ids_response_200.py,sha256=m2uE11a9wE5c7xPTDVd4CuubQc2cPYJNaYpbcj-V1rU,1275
|
190
191
|
beamlit/models/get_trace_logs_response_200.py,sha256=NIFtg8qcE26_oJxoRYkt1KSV2JSYUxdUu45Gxs0Qli0,1280
|
191
192
|
beamlit/models/get_trace_response_200.py,sha256=1QePQMknfEP7DjPXb3ulf6v17430R_MJ4SPovdYK0NI,1257
|
@@ -197,7 +198,7 @@ beamlit/models/integration_config.py,sha256=lq8yZR1th2qrJmGAk5aEcuvuPy4zAI9XyNol
|
|
197
198
|
beamlit/models/integration_connection.py,sha256=yJjLjbAb5lVTf8Plfck5TrottnTmFr3mHcLZ6gFWANo,2900
|
198
199
|
beamlit/models/integration_connection_config.py,sha256=w97Bx4d1YL1OIBA75NLcsfobJ1-mGbP2OmV_90oZMeY,1311
|
199
200
|
beamlit/models/integration_connection_secret.py,sha256=Fj_FDF7K5_cpmU3KFXbSwzgsExpujQ0OrD69YYCrpmM,1707
|
200
|
-
beamlit/models/integration_connection_spec.py,sha256=
|
201
|
+
beamlit/models/integration_connection_spec.py,sha256=U5P0McbgFM2JCt4N1fnGpiwmGm_Qg38bB9XZSpTKpfg,3691
|
201
202
|
beamlit/models/integration_model.py,sha256=gW6folMKJsIScQsV0IT5nQpO2sKzQb6d3E9fw4W4RIY,4469
|
202
203
|
beamlit/models/integration_repository.py,sha256=Ac5c_UBdlUHvGflvCzqA5gXzX1_YEDHz3yBgMCGqqDg,2397
|
203
204
|
beamlit/models/invite_workspace_user_body.py,sha256=ITmKPCuOGKTHn4VjnZ2EjIj6PGPoGh-M_rzgo0VMgNM,1612
|
@@ -217,7 +218,7 @@ beamlit/models/model_private_cluster.py,sha256=EojXwmxgDLogsUlTDRw9PvhiQVk_b5nQU
|
|
217
218
|
beamlit/models/model_provider.py,sha256=iqvS1c9GE2u58QttSlATqTIOf-EuN9CtljWqTwHdTpU,5562
|
218
219
|
beamlit/models/model_release.py,sha256=ql8EDbKc9--kre7zp3o5_XoJjpAoXrsgJdYbjYST4vs,1928
|
219
220
|
beamlit/models/model_render.py,sha256=nTs072FL4wOOTwyEYFUkW2xBHPKPqxFShF6GBrZtnko,1221
|
220
|
-
beamlit/models/model_spec.py,sha256=
|
221
|
+
beamlit/models/model_spec.py,sha256=nXjlaIyNB9KioYQ8hO6UJPrGgQSsGWlhTMpSlrvn3sc,8338
|
221
222
|
beamlit/models/owner_fields.py,sha256=8LsT7inzzFI1hZQma798gYoOfJpdmwK9T8y_0JrKGSU,2022
|
222
223
|
beamlit/models/pending_invitation.py,sha256=YJaUNHXoq-X1ZTBkOpmRQj31R99S6Y7Ik45dHDss6-M,3797
|
223
224
|
beamlit/models/pending_invitation_accept.py,sha256=-Tf3exLKVhtHLXO6DpTQVJE1PMf_YywE2oEaEpe2ywc,2404
|
@@ -277,13 +278,13 @@ beamlit/models/update_workspace_service_account_body.py,sha256=fz2MGqwRfrYkMmL8P
|
|
277
278
|
beamlit/models/update_workspace_service_account_response_200.py,sha256=nCLPHFP_iR1MIpicgQMpbiyme97ZMfTFhyQUEbhzkHI,2968
|
278
279
|
beamlit/models/update_workspace_user_role_body.py,sha256=FyLCWy9oRgUxoFPxxtrDvwzh1kHLkoTZ1pL5w3ayexM,1572
|
279
280
|
beamlit/models/websocket_channel.py,sha256=jg3vN7yS_oOIwGtndtIUr1LsyEA58RXLXahqSK5rdUU,2696
|
280
|
-
beamlit/models/workspace.py,sha256=
|
281
|
+
beamlit/models/workspace.py,sha256=UZ8lS1fRV_bjEl40Kby-o4lpti3HJiojzZRh27JKUlk,4625
|
281
282
|
beamlit/models/workspace_labels.py,sha256=WbnUY6eCTkUNdY7hhhSF-KQCl8fWFfkCf7hzCTiNp4A,1246
|
282
283
|
beamlit/models/workspace_user.py,sha256=70CcifQWYbeWG7TDui4pblTzUe5sVK0AS19vNCzKE8g,3423
|
283
284
|
beamlit/serve/app.py,sha256=ROS_tb9cO4GvOQKCwloyAzpYraTdIb3oG6sChXikeNw,3285
|
284
285
|
beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
|
285
286
|
beamlit/serve/middlewares/accesslog.py,sha256=Mu4T4_9OvHybjA0ApzZFpgi2C8f3X1NbUk-76v634XM,631
|
286
287
|
beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
|
287
|
-
beamlit-0.0.
|
288
|
-
beamlit-0.0.
|
289
|
-
beamlit-0.0.
|
288
|
+
beamlit-0.0.35.dist-info/METADATA,sha256=YNj9fhplnCU8WHgDO8hF37-6alWMPIe0nRn2fWi5A6s,3502
|
289
|
+
beamlit-0.0.35.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
290
|
+
beamlit-0.0.35.dist-info/RECORD,,
|
File without changes
|