llama-deploy-core 0.3.9__py3-none-any.whl → 0.3.11__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.
@@ -41,6 +41,8 @@ class DeploymentResponse(Base):
41
41
  status: LlamaDeploymentPhase
42
42
  warning: str | None = None
43
43
  events: list[DeploymentEvent] | None = None
44
+ # version selector for appserver image
45
+ llama_deploy_version: str | None = None
44
46
 
45
47
 
46
48
  class DeploymentsListResponse(Base):
@@ -54,6 +56,8 @@ class DeploymentCreate(Base):
54
56
  git_ref: str | None = None
55
57
  personal_access_token: str | None = None
56
58
  secrets: dict[str, str] | None = None
59
+ # optional version selector; if omitted, server may set based on client version
60
+ llama_deploy_version: str | None = None
57
61
 
58
62
 
59
63
  class LlamaDeploymentMetadata(Base):
@@ -83,6 +87,8 @@ class LlamaDeploymentSpec(Base):
83
87
  secretName: str | None = None
84
88
  # when true, the deployment will prebuild the UI assets and serve them from a static file server
85
89
  staticAssetsPath: str | None = None
90
+ # explicit imageTag (operator will use this if provided)
91
+ imageTag: str | None = None
86
92
 
87
93
 
88
94
  class LlamaDeploymentStatus(Base):
@@ -122,6 +128,8 @@ class DeploymentUpdate(Base):
122
128
  personal_access_token: str | None = None
123
129
  secrets: dict[str, str | None] | None = None
124
130
  static_assets_path: Path | None = None
131
+ # allow updating version selector
132
+ llama_deploy_version: str | None = None
125
133
 
126
134
 
127
135
  class DeploymentUpdateResult(Base):
@@ -200,6 +208,10 @@ def apply_deployment_update(
200
208
  # String value means add/update this secret
201
209
  secret_adds[key] = value
202
210
 
211
+ # Handle version selector
212
+ if update.llama_deploy_version is not None:
213
+ updated_spec.imageTag = f"appserver-{update.llama_deploy_version}"
214
+
203
215
  return DeploymentUpdateResult(
204
216
  updated_spec=updated_spec,
205
217
  secret_adds=secret_adds,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: llama-deploy-core
3
- Version: 0.3.9
3
+ Version: 0.3.11
4
4
  Summary: Core models and schemas for LlamaDeploy
5
5
  License: MIT
6
6
  Requires-Dist: fastapi>=0.115.0
@@ -8,7 +8,7 @@ llama_deploy/core/path_util.py,sha256=14d50c0c337c8450ed46cafc88436027056b365a48
8
8
  llama_deploy/core/py.typed,sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855,0
9
9
  llama_deploy/core/schema/__init__.py,sha256=d1459ee50c690779a682130eff72f61dc1a687d2d4b26d8a5d3620a72d92d831,802
10
10
  llama_deploy/core/schema/base.py,sha256=2de6d23e58c36b6bb311ec0aea4b902661867056c1250c6b7ce3bad17141fe15,677
11
- llama_deploy/core/schema/deployments.py,sha256=d9254d9a478d7aeaf3d28ec6205215ea892dcfb245966d726d69d0418e03b03d,6486
11
+ llama_deploy/core/schema/deployments.py,sha256=a85c294fdca939023918d93c36e4fa3f7a39a65383ec3b8f60d2f82ba43c0e93,7030
12
12
  llama_deploy/core/schema/git_validation.py,sha256=27b306aa6ecabe58cab6381d92551545f263fe7550c58b3087115410bc71fd21,1915
13
13
  llama_deploy/core/schema/projects.py,sha256=726f91e90ff8699c90861d9740819c44c3f00d945ab09df71bd6d35fdc218a45,726
14
14
  llama_deploy/core/schema/public.py,sha256=022129c8fc09192f5e503b0500ccf54d106f5712b9cf8ce84b3b1c37e186f930,147
@@ -17,6 +17,6 @@ llama_deploy/core/server/manage_api/_abstract_deployments_service.py,sha256=85ce
17
17
  llama_deploy/core/server/manage_api/_create_deployments_router.py,sha256=9bc8468169445e1cc7f2a479e1c7da42b4bdd7482fa3b440e03ee49cd09a75df,6801
18
18
  llama_deploy/core/server/manage_api/_exceptions.py,sha256=ee71cd9c2354a665e6905cd9cc752d2d65f71f0b936d33fec3c1c5229c38accf,246
19
19
  llama_deploy/core/ui_build.py,sha256=290dafa951918e5593b9035570fa4c66791d7e5ea785bd372ad11e99e8283857,1514
20
- llama_deploy_core-0.3.9.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
21
- llama_deploy_core-0.3.9.dist-info/METADATA,sha256=da799eef8f513e994fe3c29cbe5e6a5e7bd0405fa2bc923dccb6abadfafc7787,663
22
- llama_deploy_core-0.3.9.dist-info/RECORD,,
20
+ llama_deploy_core-0.3.11.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
21
+ llama_deploy_core-0.3.11.dist-info/METADATA,sha256=bea5d9eef1ef1fa8f4a875f6707e8c2ef08cd3cafee54a3ecd21251318ec1889,664
22
+ llama_deploy_core-0.3.11.dist-info/RECORD,,