add main
This commit is contained in:
parent
c5d91ca9df
commit
666cb7b6dd
1 changed files with 11 additions and 0 deletions
11
main.py
Normal file
11
main.py
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
from typing import Union
|
||||||
|
|
||||||
|
from fastapi import FastAPI
|
||||||
|
|
||||||
|
app = FastAPI()
|
||||||
|
|
||||||
|
|
||||||
|
@app.get("/")
|
||||||
|
def read_root():
|
||||||
|
return {"Hello": "World"}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue