Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 265 for _exit (0.16 sec)

  1. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  2. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. 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 May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. api/go1.14.txt

    pkg syscall (freebsd-arm64), const NOTE_EXEC = 536870912
    pkg syscall (freebsd-arm64), const NOTE_EXEC ideal-int
    pkg syscall (freebsd-arm64), const NOTE_EXIT = 2147483648
    pkg syscall (freebsd-arm64), const NOTE_EXIT ideal-int
    pkg syscall (freebsd-arm64), const NOTE_EXTEND = 4
    pkg syscall (freebsd-arm64), const NOTE_EXTEND ideal-int
    pkg syscall (freebsd-arm64), const NOTE_FFAND = 1073741824
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  8. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const NOTE_EXEC = 536870912 #53466
    pkg syscall (freebsd-riscv64), const NOTE_EXEC ideal-int #53466
    pkg syscall (freebsd-riscv64), const NOTE_EXIT = 2147483648 #53466
    pkg syscall (freebsd-riscv64), const NOTE_EXIT ideal-int #53466
    pkg syscall (freebsd-riscv64), const NOTE_EXTEND = 4 #53466
    pkg syscall (freebsd-riscv64), const NOTE_EXTEND ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  9. cmd/signals.go

    )
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/assemblies/files/generate-thumbnail

      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
      echo "Unsupported type: ${cmd_type}"
      exit 1
    fi
    
    if [[ ! -f ${output_file} ]] ; then
      echo "Thumbnail is not created."
      exit 1
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jun 12 13:13:28 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top