Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for border (0.33 sec)

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

    You can have sub-dependencies and "trees" of sub-dependencies of any size and shape, and any or all of them can use `yield`.
    
    **FastAPI** will make sure that the "exit code" in each dependency with `yield` is run in the correct order.
    
    For example, `dependency_c` can have a dependency on `dependency_b`, and `dependency_b` on `dependency_a`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="6  14  22"
    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