do it
Browse files- __pycache__/app.cpython-39.pyc +0 -0
- app.py +1 -1
__pycache__/app.cpython-39.pyc
ADDED
|
Binary file (425 Bytes). View file
|
|
|
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from fastapi import FastAPI
|
|
| 3 |
app = FastAPI()
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
-
def
|
| 7 |
return {"Hello": "World!"}
|
| 8 |
|
| 9 |
@app.get("/greet")
|
|
|
|
| 3 |
app = FastAPI()
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
+
def root():
|
| 7 |
return {"Hello": "World!"}
|
| 8 |
|
| 9 |
@app.get("/greet")
|