Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 373 for _exit (0.23 sec)

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

        ๐Ÿšฅ ๐Ÿ‘† โ–ถ๏ธ โฎ๏ธ **FastAPI** ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’š ๐Ÿšถ โšซ๏ธ ๐Ÿ”œ.
    
    ๐Ÿ, ๐Ÿ‘† ๐Ÿ’ช โœ ๐Ÿ”‘ ๐Ÿ‘จโ€๐Ÿ’ผ <a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">๐Ÿ— ๐ŸŽ“ โฎ๏ธ 2๏ธโƒฃ ๐Ÿ‘ฉโ€๐Ÿ”ฌ: `__enter__()` &amp; `__exit__()`</a>.
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿ‘ซ ๐Ÿ”˜ **FastAPI** ๐Ÿ”— โฎ๏ธ `yield` โš™๏ธ
    `with` โš–๏ธ `async with` ๐Ÿ“„ ๐Ÿ”˜ ๐Ÿ”— ๐Ÿ”ข:
    
    ```Python hl_lines="1-9  13"
    {!../../../docs_src/dependencies/tutorial010.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. fastapi/routing.py

                async with AsyncExitStack() as async_exit_stack:
                    solved_result = await solve_dependencies(
                        request=request,
                        dependant=dependant,
                        body=body,
                        dependency_overrides_provider=dependency_overrides_provider,
                        async_exit_stack=async_exit_stack,
                    )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    In Python, you can create Context Managers by <a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">creating a class with two methods: `__enter__()` and `__exit__()`</a>.
    
    You can also use them inside of **FastAPI** dependencies with `yield` by using
    `with` or `async with` statements inside of the dependency function:
    
    ```Python hl_lines="1-9  13"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    In Python kรถnnen Sie Kontextmanager erstellen, indem Sie <a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">eine Klasse mit zwei Methoden erzeugen: `__enter__()` und `__exit__()`</a>.
    
    Sie kรถnnen solche auch innerhalb von **FastAPI**-Abhรคngigkeiten mit `yield` verwenden, indem Sie `with`- oder `async with`-Anweisungen innerhalb der Abhรคngigkeits-Funktion verwenden:
    
    ```Python hl_lines="1-9  13"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. api/go1.16.txt

    pkg syscall (darwin-arm64), const NOTE_EXIT_DETAIL = 33554432
    pkg syscall (darwin-arm64), const NOTE_EXIT_DETAIL ideal-int
    pkg syscall (darwin-arm64), const NOTE_EXIT_DETAIL_MASK = 458752
    pkg syscall (darwin-arm64), const NOTE_EXIT_DETAIL_MASK ideal-int
    pkg syscall (darwin-arm64), const NOTE_EXIT_MEMORY = 131072
    pkg syscall (darwin-arm64), const NOTE_EXIT_MEMORY ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    Plexus Archiver junit/textui/TestRunner.class package junit.textui; public synchronized class TestRunner extends junit.runner.BaseTestRunner { private ResultPrinter fPrinter; public static final int SUCCESS_EXIT = 0; public static final int FAILURE_EXIT = 1; public static final int EXCEPTION_EXIT = 2; public void TestRunner(); public void TestRunner(java.io.PrintStream); public void TestRunner(ResultPrinter); public static void run(Class); public static junit.framework.TestResult run(junit.framework.Test);...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

      VerifyFDefOutputs(fdef, M({{"test_loop_exit"}}));
      VerifyFDefEdges(fdef,
                      {{"feed1", "test_loop/Enter:0"},
                       {"test_loop/Enter:output:0", "test_loop/Merge:0"},
                       {"test_loop/Merge:output:0", "test_loop/Switch:0"},
                       {"test_loop/Switch:output_false:0", "test_loop/Exit:0"},
                       {"test_loop/Exit:output:0", "test_loop_exit"}},
                      {}, false);
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const SYS_EVENTFD2 ideal-int
    pkg syscall (linux-arm-cgo), const SYS_EXECVE ideal-int
    pkg syscall (linux-arm-cgo), const SYS_EXIT ideal-int
    pkg syscall (linux-arm-cgo), const SYS_EXIT_GROUP ideal-int
    pkg syscall (linux-arm-cgo), const SYS_FACCESSAT ideal-int
    pkg syscall (linux-arm-cgo), const SYS_FALLOCATE ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  9. api/go1.1.txt

    pkg syscall (linux-386), const SYS_EVENTFD = 323
    pkg syscall (linux-386), const SYS_EVENTFD2 = 328
    pkg syscall (linux-386), const SYS_EXECVE = 11
    pkg syscall (linux-386), const SYS_EXIT = 1
    pkg syscall (linux-386), const SYS_EXIT_GROUP = 252
    pkg syscall (linux-386), const SYS_FACCESSAT = 307
    pkg syscall (linux-386), const SYS_FADVISE64 = 250
    pkg syscall (linux-386), const SYS_FADVISE64_64 = 272
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const NOTE_EXEC = 536870912
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXEC ideal-int
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXIT = 2147483648
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXIT ideal-int
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXTEND = 4
    pkg syscall (netbsd-arm64-cgo), const NOTE_EXTEND ideal-int
    pkg syscall (netbsd-arm64-cgo), const NOTE_FORK = 1073741824
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
Back to top