Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __init__ (0.25 sec)

  1. fastapi/routing.py

                assert dependant.call is not None, "dependant.call must be a function"
                await dependant.call(**values)
    
        return app
    
    
    class APIWebSocketRoute(routing.WebSocketRoute):
        def __init__(
            self,
            path: str,
            endpoint: Callable[..., Any],
            *,
            name: Optional[str] = None,
            dependencies: Optional[Sequence[params.Depends]] = None,
    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)
  2. fastapi/applications.py

        [FastAPI docs for First Steps](https://fastapi.tiangolo.com/tutorial/first-steps/).
    
        ## Example
    
        ```python
        from fastapi import FastAPI
    
        app = FastAPI()
        ```
        """
    
        def __init__(
            self: AppType,
            *,
            debug: Annotated[
                bool,
                Doc(
                    """
                    Boolean indicating if debug tracebacks should be returned on server
    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)
Back to top