Intialy I was looking forward to writting test that handles edge cases oe exception block in place, however for now I am testing best case. What are the best cases? These are the apporiate response during the req-res cycle without any HTTPEception. ...
fromfastapiimportAPIRouter fromapp.typesimportapiproto fromapp.serviceimportusersvc fromappimportutils router=APIRouter(prefix="/user",tags=["用户相关接口"]) @router.post("/list") asyncdefuserList(body:apiproto.UserListRequest): asyncdefuserList(param:apiproto.UserListRequest)->utils.HttpResponse:...
Bump vite from 5.0.4 to 5.0.12 in /frontend. PR#653by@dependabot[bot]. Bump fastapi from 0.104.1 to 0.109.1 in /backend. PR#687by@dependabot[bot]. Bump python-multipart from 0.0.6 to 0.0.7 in /backend. PR#686by@dependabot[bot]. ⬆ Adduvicorn[standard]to includewatchgodandu...
Fix function name read_item and response code. PR #74 by @jcaguirre89. Fix typo in comment. PR #70 by @daniel-butler. Fix Flower Docker configuration. PR #37 by @dmontagu. Add new CRUD utils based on DB and Pydantic models. Initial PR #23 by @ebreton. Add normal user testing Pyt...
tiangolo/full-stack-fastapi-template最新发布版本:0.6.0(2024-03-13 04:56:12)Make the Traefik public network a fixed default of traefik-public as done in DockerSwarm.rocks, to simplify development and iteration of the project generator. PR #150. Update to PostgreSQL 12. PR #148. by @R...
Fix function name read_item and response code. PR #74 by @jcaguirre89. Fix typo in comment. PR #70 by @daniel-butler. Fix Flower Docker configuration. PR #37 by @dmontagu. Add new CRUD utils based on DB and Pydantic models. Initial PR #23 by @ebreton. Add normal user testing Pyt...
)exceptTemplateNotFound:returntemplates.TemplateResponse("update.html",context=context, ) andERROR 500 Server Error AttributeError: 'State' object has no attribute 'admin' **Traceback** **_File /usr/local/lib/python3.10/site-packages/starlette/datastructures.py, line 705, in __getattr___** ...
♻️ Remove type ignores and add response_model. PR #572 by @alejsdev. ♻️ Refactor Users API and dependencies. PR #561 by @alejsdev. ♻️ Refactor frontend Docker build setup, use plain NodeJS, use custom Nginx config, fix build for old Vue. PR #555 by @tiangolo. ♻...
Fix function name read_item and response code. PR #74 by @jcaguirre89. Fix typo in comment. PR #70 by @daniel-butler. Fix Flower Docker configuration. PR #37 by @dmontagu. Add new CRUD utils based on DB and Pydantic models. Initial PR #23 by @ebreton. Add normal user testing Pyt...
fastapi_template Fastapi docker-compose repo with most all the things I like in a fastapi app examples include but are not limited to: Pydantic BaseModel static files template responses env files and useage (keep .env files safe this is just an example!!) forms get post using raw form da...