Factory(Service) app = FastAPI() @app.api_route('/') @inject async def index(service: Service = Depends(Provide[Container.service])): result ...
確定! 回上一頁