feat: commit that succeeds - Hello BackendIM
This commit is contained in:
parent
e17a90c7c3
commit
fc56bab6dc
BIN
__pycache__/main.cpython-310.pyc
Normal file
BIN
__pycache__/main.cpython-310.pyc
Normal file
Binary file not shown.
4
main.py
4
main.py
@ -2,9 +2,11 @@ from fastapi import FastAPI
|
|||||||
|
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
|
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def read_root():
|
async def read_root():
|
||||||
return {"message": "Hello World"}
|
return {"message": "Hello BackendIM"}
|
||||||
|
|
||||||
|
|
||||||
@app.get("/items/{item_id}")
|
@app.get("/items/{item_id}")
|
||||||
async def read_item(item_id: int):
|
async def read_item(item_id: int):
|
||||||
|
BIN
tests/__pycache__/test_success.cpython-310-pytest-8.3.4.pyc
Normal file
BIN
tests/__pycache__/test_success.cpython-310-pytest-8.3.4.pyc
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user