Delete app.pyfrom fastapi import FastAPI app = FastAPI() @app .get("
Browse files
app.pyfrom fastapi import FastAPI app = FastAPI() @app.get(/"//") def greet_json(): return {/"Hello/": /"World!/"}
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
from fastapi import FastAPI
|
2 |
-
|
3 |
-
app = FastAPI()
|
4 |
-
|
5 |
-
@app.get("/")
|
6 |
-
def greet_json():
|
7 |
-
return {"Hello": "World!"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|