Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_item_options (0.07 sec)

  1. fastapi/routing.py

            ## Example
    
            ```python
            from fastapi import APIRouter, FastAPI
    
            app = FastAPI()
            router = APIRouter()
    
            @router.options("/items/")
            def get_item_options():
                return {"additions": ["Aji", "Guacamole"]}
    
            app.include_router(router)
            ```
            """
            return self.api_route(
                path=path,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
Back to top