Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for get_item_options (0.07 seconds)

  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,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  2. fastapi/applications.py

            ## Example
    
            ```python
            from fastapi import FastAPI
    
            app = FastAPI()
    
            @app.options("/items/")
            def get_item_options():
                return {"additions": ["Aji", "Guacamole"]}
            ```
            """
            return self.router.options(
                path,
                response_model=response_model,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
Back to Top