mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #267] [MERGED] feat: add HTTP api to interact with Manager #362
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/267
Author: @masci
Created: 9/24/2024
Status: ✅ Merged
Merged: 9/26/2024
Merged by: @masci
Base:
main← Head:massi/http📝 Commits (8)
8f8453afeat: add HTTP api to interact with Manager4ba31c5skip cleanup if folder was never used5ed0cb2better stubs2a9bb20install python-multipart for file upload support62ce962update lockfilea2e267cexclude files from coverage count883e528add unit tests5e9e2e3better variable naming📊 Changes
19 files changed (+467 additions, -216 deletions)
View changed files
📝
llama_deploy/apiserver/__init__.py(+2 -1)➕
llama_deploy/apiserver/__main__.py(+5 -0)➕
llama_deploy/apiserver/app.py(+24 -0)📝
llama_deploy/apiserver/config_parser.py(+6 -0)📝
llama_deploy/apiserver/deployment.py(+18 -9)➕
llama_deploy/apiserver/routers/__init__.py(+5 -0)➕
llama_deploy/apiserver/routers/deploy.py(+45 -0)➕
llama_deploy/apiserver/routers/status.py(+20 -0)➕
llama_deploy/apiserver/server.py(+27 -0)📝
poetry.lock(+206 -195)📝
pyproject.toml(+6 -0)📝
tests/apiserver/conftest.py(+9 -2)➕
tests/apiserver/routers/__init__.py(+0 -0)➕
tests/apiserver/routers/test_deploy.py(+40 -0)➕
tests/apiserver/routers/test_status.py(+11 -0)➕
tests/apiserver/test_app.py(+7 -0)📝
tests/apiserver/test_config_parser.py(+12 -2)📝
tests/apiserver/test_deployment.py(+7 -7)➕
tests/apiserver/test_server.py(+17 -0)📄 Description
This PR adds an HTTP API implemented with FastAPI in front of the deployment Manager.
To run the server, from the llama_deploy folder:
To create a deployment:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.