From a0c28bb50d290fe59ce781942f44ff5738758087 Mon Sep 17 00:00:00 2001 From: Stas Medvedev Date: Thu, 13 Jun 2024 02:40:42 +0300 Subject: launch.json, requirements.txt --- .vscode/launch.json | 12 ++++++++++++ requirements.txt | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 4e95206..93a8c43 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -27,6 +27,18 @@ "1" ], "console": "integratedTerminal" + }, + { + "name": "celery", + "type": "debugpy", + "request": "launch", + "module": "celery", + "args": [ + "-A", "app.tasks", + "worker", + "--loglevel=info" + ], + "console": "integratedTerminal" } ] } diff --git a/requirements.txt b/requirements.txt index f33c653..15e839c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ fastapi==0.111.0 uvicorn==0.30.1 -jinja2==3.1.4 \ No newline at end of file +jinja2==3.1.4 +RestrictedPython==7.1 +celery[redis]==5.4.0 \ No newline at end of file -- cgit v1.2.3