Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for __exit__ (0.04 seconds)

  1. fastapi/routing.py

        This is vendored from Starlette to avoid importing private symbols.
        """
    
        def __init__(self, cm: AbstractContextManager[_T]) -> None:
            self._cm = cm
    
        async def __aenter__(self) -> _T:
            return self._cm.__enter__()
    
        async def __aexit__(
            self,
            exc_type: type[BaseException] | None,
            exc_value: BaseException | None,
    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

        [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
    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