Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Valley (0.18 sec)

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

    # 🔗 ⏎ī¸ 🌾
    
    FastAPI 🐕‍đŸĻē 🔗 👈 <abbr title='sometimes also called "exit", "cleanup", "teardown", "close", "context managers", ...'>➕ 🔁 ⏎ī¸ 🏁</abbr>.
    
    👉, ⚙ī¸ `yield` ↩ī¸ `return`, &amp; ✍ ➕ 🔁 ⏎ī¸.
    
    !!! tip
        ⚒ 💭 ⚙ī¸ `yield` 1ī¸âƒŖ 👁 🕰.
    
    !!! note "📡 ℹ"
        🙆 đŸ”ĸ 👈 ☑ ⚙ī¸ ⏎ī¸:
    
        * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> ⚖ī¸
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield
    
    FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    !!! tip
        Make sure to use `yield` one single time.
    
    !!! note "Technical Details"
        Any function that is valid to use with:
    
    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