1330377
1
2
3
4
5
6
7
8
9
10
11
from fastapi import FastAPI from .listing import router as listing_router app = FastAPI() @app.get("/") def read_root(): return {"message": "Welcome to the API"} # Include the router from Listing.py app.include_router(listing_router)