Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Maeder (0.17 sec)

  1. fastapi/applications.py

                    from fastapi import Depends, FastAPI
    
                    from .dependencies import get_token_header
                    from .internal import admin
    
                    app = FastAPI()
    
                    app.include_router(
                        admin.router,
                        dependencies=[Depends(get_token_header)],
                    )
                    ```
                    """
                ),
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

        *, dependant: Dependant, values: Dict[str, Any], is_coroutine: bool
    ) -> Any:
        # Only called by get_request_handler. Has been split into its own function to
        # facilitate profiling endpoints, since inner functions are harder to profile.
        assert dependant.call is not None, "dependant.call must be a function"
    
        if is_coroutine:
            return await dependant.call(**values)
        else:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top