llama-deploy-appserver 0.3.0a16__py3-none-any.whl → 0.3.0a18__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/appserver/workflow_loader.py +12 -3
- {llama_deploy_appserver-0.3.0a16.dist-info → llama_deploy_appserver-0.3.0a18.dist-info}/METADATA +3 -3
- {llama_deploy_appserver-0.3.0a16.dist-info → llama_deploy_appserver-0.3.0a18.dist-info}/RECORD +4 -4
- {llama_deploy_appserver-0.3.0a16.dist-info → llama_deploy_appserver-0.3.0a18.dist-info}/WHEEL +0 -0
@@ -62,14 +62,23 @@ def load_environment_variables(config: DeploymentConfig, source_root: Path) -> N
|
|
62
62
|
"""
|
63
63
|
Load environment variables from the deployment config.
|
64
64
|
"""
|
65
|
+
for key, value in parse_environment_variables(config, source_root).items():
|
66
|
+
if value:
|
67
|
+
os.environ[key] = value
|
68
|
+
|
69
|
+
|
70
|
+
def parse_environment_variables(
|
71
|
+
config: DeploymentConfig, source_root: Path
|
72
|
+
) -> dict[str, str]:
|
73
|
+
"""
|
74
|
+
Parse environment variables from the deployment config.
|
75
|
+
"""
|
65
76
|
env_vars = {**config.env} if config.env else {}
|
66
77
|
for env_file in config.env_files or []:
|
67
78
|
env_file_path = source_root / env_file
|
68
79
|
values = dotenv_values(env_file_path)
|
69
80
|
env_vars.update(**values)
|
70
|
-
|
71
|
-
if value:
|
72
|
-
os.environ[key] = value
|
81
|
+
return env_vars
|
73
82
|
|
74
83
|
|
75
84
|
@functools.cache
|
{llama_deploy_appserver-0.3.0a16.dist-info → llama_deploy_appserver-0.3.0a18.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: llama-deploy-appserver
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.0a18
|
4
4
|
Summary: Application server components for LlamaDeploy
|
5
5
|
Author: Massimiliano Pippi
|
6
6
|
Author-email: Massimiliano Pippi <mpippi@gmail.com>
|
@@ -10,8 +10,8 @@ Requires-Dist: pydantic-settings>=2.10.1
|
|
10
10
|
Requires-Dist: uvicorn>=0.24.0
|
11
11
|
Requires-Dist: fastapi>=0.100.0
|
12
12
|
Requires-Dist: websockets>=12.0
|
13
|
-
Requires-Dist: llama-deploy-core>=0.3.
|
14
|
-
Requires-Dist: httpx>=0.
|
13
|
+
Requires-Dist: llama-deploy-core>=0.3.0a18,<0.4.0
|
14
|
+
Requires-Dist: httpx>=0.24.0,<1.0.0
|
15
15
|
Requires-Dist: prometheus-fastapi-instrumentator>=7.1.0
|
16
16
|
Requires-Dist: packaging>=25.0
|
17
17
|
Requires-Dist: structlog>=25.4.0
|
{llama_deploy_appserver-0.3.0a16.dist-info → llama_deploy_appserver-0.3.0a18.dist-info}/RECORD
RENAMED
@@ -15,7 +15,7 @@ llama_deploy/appserver/routers/ui_proxy.py,sha256=f63c36c201070594a4011320192d72
|
|
15
15
|
llama_deploy/appserver/settings.py,sha256=7f1f481216b29614a94783c81cb49f0790d66e9e0cacef407da4ed3c8fcbbeeb,3484
|
16
16
|
llama_deploy/appserver/stats.py,sha256=1f3989f6705a6de3e4d61ee8cdd189fbe04a2c53ec5e720b2e5168acc331427f,691
|
17
17
|
llama_deploy/appserver/types.py,sha256=4edc991aafb6b8497f068d12387455df292da3ff8440223637641ab1632553ec,2133
|
18
|
-
llama_deploy/appserver/workflow_loader.py,sha256=
|
19
|
-
llama_deploy_appserver-0.3.
|
20
|
-
llama_deploy_appserver-0.3.
|
21
|
-
llama_deploy_appserver-0.3.
|
18
|
+
llama_deploy/appserver/workflow_loader.py,sha256=c15890a00976e022edcdf2af04bf699c02fba020bb06c47960a4911e08255501,14146
|
19
|
+
llama_deploy_appserver-0.3.0a18.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
|
20
|
+
llama_deploy_appserver-0.3.0a18.dist-info/METADATA,sha256=88c98f3ac607427769ce38aa89f895ec1ffec0262eb4afdba2adaeeed35cc183,855
|
21
|
+
llama_deploy_appserver-0.3.0a18.dist-info/RECORD,,
|
{llama_deploy_appserver-0.3.0a16.dist-info → llama_deploy_appserver-0.3.0a18.dist-info}/WHEEL
RENAMED
File without changes
|