- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 92 for Goexit (0.05 seconds)
-
docs/tr/docs/tutorial/dependencies/dependencies-with-yield.md
# `yield` ile Dependency'ler { #dependencies-with-yield } FastAPI, işini bitirdikten sonra <dfn title='bazen "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code" vb. olarak da adlandırılır'>ek adımlar</dfn> çalıştıran dependency'leri destekler. Bunu yapmak için `return` yerine `yield` kullanın ve ek adımları (kodu) `yield` satırından sonra yazın. /// tip | İpucu
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
Using `Depends(scope="function")`, the exit code after `yield` is executed right after the *path operation function* is finished, before the response is sent back to the client. And when using `Depends(scope="request")` (the default), the exit code after `yield` is executed after the response is sent.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
/// ## Early exit and `scope` { #early-exit-and-scope } Normally the exit code of dependencies with `yield` is executed **after the response** is sent to the client.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 12.6K bytes - Click Count (0) -
scripts/add_latest_release_date.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:06:36 GMT 2026 - 1023 bytes - Click Count (0) -
docs/de/docs/advanced/advanced-dependencies.md
/// info | Info Wie Sie unten sehen werden, ähnelt dies sehr dem Verhalten vor Version 0.106.0, jedoch mit mehreren Verbesserungen und Bugfixes für Sonderfälle. /// #### Anwendungsfälle mit frühem Exit-Code { #use-cases-with-early-exit-code }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10.3K bytes - Click Count (0) -
.teamcity/scripts/CheckRemoteProjectRef.java
System.exit(2); } Path propsPath = Paths.get("gradle.properties"); if (!Files.exists(propsPath)) { System.err.println("gradle.properties not found at: " + propsPath.toAbsolutePath()); System.exit(2); } Map<String, String> props = readProperties(propsPath);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
# Abhängigkeiten mit `yield` { #dependencies-with-yield } FastAPI unterstützt Abhängigkeiten, die einige <dfn title="manchmal auch genannt: „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontextmanager Exit Code“, usw.">zusätzliche Schritte nach Abschluss</dfn> ausführen. Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach. /// tip | TippCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 14.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
ByteArrayOutputStream errContent = new ByteArrayOutputStream(); System.setErr(new PrintStream(errContent)); String[] args = { "--help" }; // Note: main calls System.exit, so we can't test it directly // Instead, we test the parsing logic separately System.setErr(originalErr); } catch (Exception e) { System.setErr(originalErr); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/dependencies.md
## Dependencies with `yield` and `scope` When using dependencies with `yield`, they can have a `scope` that defines when the exit code is run. Use the default scope `"request"` to run the exit code after the response is sent back. ```python from typing import Annotated from fastapi import Depends, FastAPI app = FastAPI() def get_db():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 3.2K bytes - Click Count (0) -
scripts/translate.py
en_doc_lines=original_content.splitlines(), lang_code=language, auto_fix=False, path=str(out_path), ) break # Exit loop if no errors except ValueError as e: print( f"Translation check failed on attempt {attempt_no}/{MAX_ATTEMPTS}: {e}" )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0)