mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #501] [MERGED] fix: use a global settings instance #503
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/501
Author: @masci
Created: 5/19/2025
Status: ✅ Merged
Merged: 5/19/2025
Merged by: @masci
Base:
main← Head:massi/settings-refact📝 Commits (2)
1073b1cfix: use a global settings instance0ba20d6fix e2e tests📊 Changes
12 files changed (+35 additions, -25 deletions)
View changed files
📝
docker/run_apiserver.py(+1 -3)📝
docker/run_autodeploy.py(+1 -3)📝
e2e_tests/apiserver/test_autodeploy.py(+0 -5)📝
llama_deploy/apiserver/__init__.py(+2 -2)📝
llama_deploy/apiserver/__main__.py(+1 -3)📝
llama_deploy/apiserver/routers/status.py(+1 -2)📝
llama_deploy/apiserver/server.py(+1 -2)📝
llama_deploy/apiserver/settings.py(+3 -0)➕
llama_deploy/cli/serve.py(+19 -0)📝
tests/apiserver/routers/test_status.py(+3 -1)📝
tests/apiserver/test_server.py(+2 -3)📝
tests/apiserver/test_settings.py(+1 -1)📄 Description
Use a Pydantic settings singleton instance to avoid re-parsing environment variables at each usage
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.