diff options
| author | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-23 13:31:05 +0200 |
|---|---|---|
| committer | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-23 13:31:05 +0200 |
| commit | 81563cdb647b8de014a59fdc7e17fcd5ebf4be6c (patch) | |
| tree | 631cd8ff1f3f77d29739c7e1a06347a327caa7e7 /python_scripts/__main__.py | |
| parent | ca0c72789ba87791829001d259000b2966d9d6e4 (diff) | |
feat: managed to successfully run experiment I
Diffstat (limited to 'python_scripts/__main__.py')
| -rw-r--r-- | python_scripts/__main__.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/python_scripts/__main__.py b/python_scripts/__main__.py deleted file mode 100644 index 9c375524..00000000 --- a/python_scripts/__main__.py +++ /dev/null @@ -1,19 +0,0 @@ -import uvicorn -from typing import Dict, Any -from fastapi import FastAPI - -PORT = 1234 -HOST = "localhost" -APP = FastAPI() - -@APP.post("/assets") -async def assets(payload: Dict[Any, Any]): - return payload, 200 - - -@APP.get("/check") -async def check(): - return 200 - -if __name__ == "__main__": - uvicorn.run(APP, host=HOST, port=PORT) |
