Spaces:
Sleeping
Sleeping
Commit
·
a87f3bb
1
Parent(s):
655497e
debig
Browse files
Api/app/modules/clearVariables/routes/clearVariables_route.py
CHANGED
|
@@ -8,6 +8,5 @@ router = APIRouter()
|
|
| 8 |
@router.delete("/clear_variables")
|
| 9 |
async def clear_variables():
|
| 10 |
query_response_storage.clear()
|
| 11 |
-
query_response_storage = []
|
| 12 |
|
| 13 |
return JSONResponse(status_code=200, content={"message": "All variables cleared"})
|
|
|
|
| 8 |
@router.delete("/clear_variables")
|
| 9 |
async def clear_variables():
|
| 10 |
query_response_storage.clear()
|
|
|
|
| 11 |
|
| 12 |
return JSONResponse(status_code=200, content={"message": "All variables cleared"})
|