- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 993 for exit (0.04 sec)
-
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 per dependency. /// /// note | "Technical Details"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14K bytes - Viewed (0) -
bin/update_crds.sh
# See the License for the specific language governing permissions and # limitations under the License. set -e fail() { echo "$@" 1>&2 exit 1 } API_TMP="$(mktemp -d -u)" trap 'rm -rf "${API_TMP}"' EXIT SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOTDIR=$(dirname "${SCRIPTPATH}") cd "${ROOTDIR}" REPO="github.com/istio/api"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 01 20:23:30 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
StringBuilder tokBuf = new StringBuilder(10); String tok; boolean inQuote = false; boolean tokStarted = false; boolean exit = false; while ((st.hasMoreTokens()) && (!exit)) { tok = st.nextToken(tokenList); switch (tok) { case "\"": inQuote = !inQuote;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
helm/minio/templates/post-job.yaml
{{- if .Values.makePolicyJob.exitCommand }} command: [ "/bin/sh", "-c" ] args: [ "/bin/sh /config/add-policy; EV=$?; {{ .Values.makePolicyJob.exitCommand }} && exit $EV" ] {{- else }} command: [ "/bin/sh", "/config/add-policy" ] {{- end }} env: - name: MINIO_ENDPOINT value: {{ template "minio.fullname" . }}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 15:48:31 UTC 2024 - 10.4K bytes - Viewed (0) -
src/clean.bat
errorlevel 1 goto fail L13:call .\env.bat L14:del env.bat L15:echo. L16: L17:if exist %GOTOOLDIR%\dist.exe goto distok L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean L19:goto fail L20::distok L21: L22:"%GOBIN%\go" clean -i std L23:"%GOBIN%\go" tool dist clean L24:"%GOBIN%\go" clean -i cmd L25: L26:goto end L27: L28::fail L29:set GOBUILDFAIL=1 L30: L31::end L32:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL% ...
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 12 16:59:17 UTC 2022 - 600 bytes - Viewed (0) -
src/bootstrap.bash
if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2 exit 2 fi forceflag="" if [ "$1" = "-force" ]; then forceflag=-force shift fi targ="../../go-${GOOS}-${GOARCH}-bootstrap" if [ -e $targ ]; then echo "$targ already exists; remove before continuing" exit 2 fi unset GOROOT src=$(cd .. && pwd) echo "#### Copying to $targ" cp -Rp "$src" "$targ"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jan 20 17:52:26 UTC 2023 - 2.3K bytes - Viewed (0) -
integration-tests/gradle/gradlew.bat
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of rem the _cmd.exe /c_ return code! set EXIT_CODE=%ERRORLEVEL% if %EXIT_CODE% equ 0 set EXIT_CODE=1 if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% exit /b %EXIT_CODE% :mainEnd if "%OS%"=="Windows_NT" endlocal
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 28 18:15:57 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
// GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) } os.Setenv("GO_ADDR2LINETEST_IS_ADDR2LINE", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) } func loadSyms(t *testing.T, dbgExePath string) map[string]string { cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dbgExePath)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
mvnw.cmd
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat" if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd" :skipRcPost @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' if "%MAVEN_BATCH_PAUSE%"=="on" pause if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 14 22:24:15 UTC 2024 - 7.5K bytes - Viewed (0) -
.github/workflows/maven_build_itself.yml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Jun 03 17:58:28 UTC 2024 - 2.8K bytes - Viewed (0)