llama-deploy-core 0.3.14__py3-none-any.whl → 0.3.15__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.
- llama_deploy/core/deployment_config.py +13 -0
- {llama_deploy_core-0.3.14.dist-info → llama_deploy_core-0.3.15.dist-info}/METADATA +1 -1
- {llama_deploy_core-0.3.14.dist-info → llama_deploy_core-0.3.15.dist-info}/RECORD +4 -4
- {llama_deploy_core-0.3.14.dist-info → llama_deploy_core-0.3.15.dist-info}/WHEEL +0 -0
|
@@ -194,6 +194,13 @@ class DeploymentConfig(BaseModel):
|
|
|
194
194
|
default_factory=dict,
|
|
195
195
|
description="Arbitrary environment variables to set. Defaults to {}",
|
|
196
196
|
)
|
|
197
|
+
required_env_vars: list[str] = Field(
|
|
198
|
+
default_factory=list,
|
|
199
|
+
description=(
|
|
200
|
+
"A list of environment variable names that must be defined at runtime. "
|
|
201
|
+
"If any are missing or empty, the app server will fail fast with an informative error."
|
|
202
|
+
),
|
|
203
|
+
)
|
|
197
204
|
ui: UIConfig | None = Field(
|
|
198
205
|
None,
|
|
199
206
|
description="The UI configuration.",
|
|
@@ -209,6 +216,12 @@ class DeploymentConfig(BaseModel):
|
|
|
209
216
|
workflows={**self.workflows, **config.workflows},
|
|
210
217
|
env_files=list(set(self.env_files + config.env_files)),
|
|
211
218
|
env={**self.env, **config.env},
|
|
219
|
+
required_env_vars=list(
|
|
220
|
+
{
|
|
221
|
+
*[v for v in self.required_env_vars],
|
|
222
|
+
*[v for v in config.required_env_vars],
|
|
223
|
+
}
|
|
224
|
+
),
|
|
212
225
|
ui=self.ui.merge_config(config.ui)
|
|
213
226
|
if config.ui is not None and self.ui is not None
|
|
214
227
|
else self.ui or config.ui,
|
|
@@ -2,7 +2,7 @@ llama_deploy/core/__init__.py,sha256=112612bf2e928c2e0310d6556bb13fc28c00db70297
|
|
|
2
2
|
llama_deploy/core/client/manage_client.py,sha256=d33613cc3355896dc15d20ead713b7766fd900f43c5f4d547e8e8df9e29a660f,10366
|
|
3
3
|
llama_deploy/core/client/ssl_util.py,sha256=b9743dc828fa27c18ba0867b1348662cdf0d855965c5a33db63505f23eef5d7b,1010
|
|
4
4
|
llama_deploy/core/config.py,sha256=69bb0ea8ac169eaa4e808cd60a098b616bddd3145d26c6c35e56db38496b0e6a,35
|
|
5
|
-
llama_deploy/core/deployment_config.py,sha256=
|
|
5
|
+
llama_deploy/core/deployment_config.py,sha256=8156d7935a7ce3879a4cfe6e457d4e55d26ce59d7177c6c82007ca32ba92cb26,16354
|
|
6
6
|
llama_deploy/core/git/git_util.py,sha256=8b20ba8c12cbcd26ef7d4d06e9fd693f643fc4a64d6da739c3977451e91f1658,11206
|
|
7
7
|
llama_deploy/core/iter_utils.py,sha256=68ac9dbf09f58315ffcfec6bd01ed50b88a954b00458da9bc28a0535b79ba29e,7042
|
|
8
8
|
llama_deploy/core/path_util.py,sha256=14d50c0c337c8450ed46cafc88436027056b365a48370a69cdb76c88d7c26fd1,798
|
|
@@ -18,6 +18,6 @@ llama_deploy/core/server/manage_api/_abstract_deployments_service.py,sha256=4b55
|
|
|
18
18
|
llama_deploy/core/server/manage_api/_create_deployments_router.py,sha256=2db7d59a43e8690cf6d3d925940212228498f0a7c5728cfcf4253830d6fa1b52,7554
|
|
19
19
|
llama_deploy/core/server/manage_api/_exceptions.py,sha256=ee71cd9c2354a665e6905cd9cc752d2d65f71f0b936d33fec3c1c5229c38accf,246
|
|
20
20
|
llama_deploy/core/ui_build.py,sha256=290dafa951918e5593b9035570fa4c66791d7e5ea785bd372ad11e99e8283857,1514
|
|
21
|
-
llama_deploy_core-0.3.
|
|
22
|
-
llama_deploy_core-0.3.
|
|
23
|
-
llama_deploy_core-0.3.
|
|
21
|
+
llama_deploy_core-0.3.15.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
|
|
22
|
+
llama_deploy_core-0.3.15.dist-info/METADATA,sha256=03232c0c24817caaca6e60d0db88130cb24cfe2ac3957da050efac5287ee41f6,698
|
|
23
|
+
llama_deploy_core-0.3.15.dist-info/RECORD,,
|
|
File without changes
|