From 9976ca1a8f561d0e4ff4ad7a8b079d0f4dd6a3ba Mon Sep 17 00:00:00 2001 From: Bruce Schultz Date: Thu, 29 Feb 2024 13:16:46 +0100 Subject: [PATCH] chore(results): remove test PUT method build_image --- gateway/routers/results.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gateway/routers/results.py b/gateway/routers/results.py index c9499de..147dd6a 100644 --- a/gateway/routers/results.py +++ b/gateway/routers/results.py @@ -46,20 +46,3 @@ async def upload_to_scratch( response: Response, ): pass - - -@route( - request_method=results_router.put, - path="/put", - status_code=status.HTTP_200_OK, - service_url="https://httpbin.org", - response_model=None, # StreamingResponse - form_params=["file"], # Must match param name -) -async def put_test( - file: UploadFile, - request: Request, - response: Response, -): - """Testing put.""" - pass