Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for not_timed (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/custom_request_and_route/tutorial003_py310.py

                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    router = APIRouter(route_class=TimedRoute)
    
    
    @app.get("/")
    async def not_timed():
        return {"message": "Not timed"}
    
    
    @router.get("/timed")
    async def timed():
        return {"message": "It's the time of my life"}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1K bytes
    - Click Count (0)
Back to Top