Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hopper (0.23 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    If you catch an exception using `except` in a dependency with `yield` and you don't raise it again (or raise a new exception), FastAPI won't be able to notice there was an exception, the same way that would happen with regular Python:
    
    === "Python 3.9+"
    
        ```Python hl_lines="15-16"
        {!> ../../../docs_src/dependencies/tutorial008c_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14-15"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top