add base fastapi
tg_bot_zammad/tg_bot_zammad/pipeline/head There was a failure building this commit Details

main
korotkov 2023-04-18 16:52:23 +05:00
parent d7983e2819
commit a14f4eef0f
3 changed files with 28 additions and 0 deletions

19
.vscode/launch.json vendored 100644
View File

@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: FastAPI",
"type": "python",
"request": "launch",
"module": "uvicorn",
"args": [
"main:app"
],
"jinja": true,
"justMyCode": true
}
]
}

8
main.py 100644
View File

@ -0,0 +1,8 @@
import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}

1
requirements.txt 100644
View File

@ -0,0 +1 @@
FastAPI