This commit is contained in:
0
my_api/__init__.py
Normal file
0
my_api/__init__.py
Normal file
8
my_api/app.py
Normal file
8
my_api/app.py
Normal file
@ -0,0 +1,8 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return {"message": "Hello World"}
|
Reference in New Issue
Block a user