event driven system
This commit is contained in:
parent
0c5f56c8a6
commit
3a47920186
10 changed files with 782 additions and 253 deletions
4
app.py
4
app.py
|
|
@ -4,10 +4,10 @@ app = FastAPI()
|
|||
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
def root():
|
||||
return {"message": "Hello World"}
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
async def health_check():
|
||||
def health_check():
|
||||
return {"status": "healthy"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue