dotku commited on
Commit
feca41c
1 Parent(s): 202276a

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +7 -0
main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI()
4
+
5
+ @app.get("/api/python")
6
+ def hello_world():
7
+ return {"message": "Hello World"}