- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for Exit (0.13 sec)
-
docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md
# yieldを持つ依存関係 FastAPIは、いくつかの<abbr title='時々"exit"、"cleanup"、"teardown"、"close"、"context managers"、 ...のように呼ばれる'>終了後の追加のステップ</abbr>を行う依存関係をサポートしています。 これを行うには、`return`の代わりに`yield`を使い、その後に追加のステップを書きます。 !!! tip "豆知識" `yield`は必ず一度だけ使用するようにしてください。 !!! info "情報" これを動作させるには、**Python 3.7** 以上を使用するか、**Python 3.6** では"backports"をインストールする必要があります: ``` pip install async-exit-stack async-generator ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
echo "${'$'}REPO was polluted during the build" ${if (exitOnFailure) "exit 1" else ""} else echo "${'$'}REPO does not exist" fi """.trimIndent() fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """ IF exist $dir ( TREE $dir RMDIR /S /Q $dir ${if (exitOnFailure) "EXIT 1" else ""} ) """.trimIndent()
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 08:17:56 GMT 2024 - 7.9K bytes - Viewed (0) -
src/packaging/common/scripts/prerm
1) # Don't do anything on upgrade, because the preun script in redhat gets executed after the postinst (madness!) ;; *) echo "pre remove script called with unknown argument \`$1'" >&2 exit 1 ;; esac # Stops the service if [ "$STOP_REQUIRED" = "true" ]; then echo -n "Stopping fess service..." if command -v systemctl >/dev/null; then
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Jan 29 07:34:32 GMT 2018 - 1.7K bytes - Viewed (1) -
src/packaging/common/scripts/postrm
REMOVE_USER_AND_GROUP=true ;; 1) # If $1=1 this is an upgrade IS_UPGRADE=true ;; *) echo "post remove script called with unknown argument \`$1'" >&2 exit 1 ;; esac # Sets the default values for fess variables used in this script FESS_USER="${packaging.fess.user}" FESS_GROUP="${packaging.fess.group}" PID_DIR="${packaging.fess.pid.dir}"
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Dec 10 01:24:02 GMT 2015 - 2.2K bytes - Viewed (0) -
src/packaging/common/scripts/preinst
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Dec 01 09:48:15 GMT 2016 - 2.3K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
generator.setApplicationName("Gradle") generator.setOptsEnvironmentVar("GRADLE_OPTS") generator.setExitEnvironmentVar("GRADLE_EXIT_CONSOLE") generator.setMainClassName("org.gradle.launcher.GradleMain") generator.setScriptRelPath("bin/gradle") generator.setClasspath(listOf("lib/$launcherJarName"))
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Fri Feb 24 10:25:27 GMT 2023 - 6.3K bytes - Viewed (0) -
ci/official/envs/rbe
But in .bazelrc, there is no "rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX". That setting must exist for this script to function correctly. EOF exit 1 fi TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX" # These flags share the user's gcloud credentials with the container, so that bazel
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
* It can do something to that **response** or run any needed code. * Then it returns the **response**. !!! note "Technical Details" If you have dependencies with `yield`, the exit code will run *after* the middleware. If there were any background tasks (documented later), they will run *after* all the middleware. ## Create a middleware
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.9K bytes - Viewed (0) -
docs/de/docs/tutorial/middleware.md
* Sie kann etwas mit dieser **Response** tun oder beliebigen Code ausführen. * Dann gibt sie die **Response** zurück. !!! note "Technische Details" Wenn Sie Abhängigkeiten mit `yield` haben, wird der Exit-Code *nach* der Middleware ausgeführt. Wenn es Hintergrundaufgaben gab (später dokumentiert), werden sie *nach* allen Middlewares ausgeführt. ## Erstellung einer Middleware
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 11:26:59 GMT 2024 - 3.4K bytes - Viewed (0) -
src/packaging/common/scripts/postinst
IS_UPGRADE=false ;; 2) # If $1=1 this is an upgrade IS_UPGRADE=true ;; *) echo "post install script called with unknown argument \`$1'" >&2 exit 1 ;; esac if [ "x$IS_UPGRADE" != "xtrue" ]; then if command -v systemctl >/dev/null; then
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Dec 10 01:24:02 GMT 2015 - 3.1K bytes - Viewed (0)