uv add "fastapi[standard-no-fastapi-cloud-cli]"

This commit is contained in:
Bitdori (Admin) 2026-07-29 00:49:05 +09:00
parent 9a0e741ac7
commit af3bf879f5
14 changed files with 2801 additions and 7 deletions

10
main.py
View file

@ -1,6 +1,8 @@
def main():
print("Hello from api!")
from fastapi import FastAPI
app = FastAPI()
if __name__ == "__main__":
main()
@app.get("/")
def root():
return {"message": "Hello from api!"}