- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 159 for fdef (0.01 sec)
-
docs/de/docs/advanced/async-tests.md
## HTTPX Auch wenn Ihre **FastAPI**-Anwendung normale `def`-Funktionen anstelle von `async def` verwendet, handelt es sich darunter immer noch um eine `async`hrone Anwendung.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (1) -
docs/en/docs/async.md
```Python hl_lines="2" @app.get('/') def results(): results = some_library() return results ``` --- If your application (somehow) doesn't have to communicate with anything else and wait for it to respond, use `async def`, even if you don't need to use `await` inside. --- If you just don't know, use normal `def`. ---
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 24K bytes - Viewed (0) -
docs/de/docs/tutorial/background-tasks.md
Es kann sich um eine `async def`- oder normale `def`-Funktion handeln. **FastAPI** weiร, wie damit zu verfahren ist. In diesem Fall schreibt die Taskfunktion in eine Datei (den Versand einer E-Mail simulierend). Und da der Schreibvorgang nicht `async` und `await` verwendet, definieren wir die Funktion mit normalem `def`: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/index.md
/// ## `async` โ๏ธ ๐ซ `async` ๐ ๐ ๐ค **FastAPI** (๐ ๐ *โก ๐ ๏ธ ๐ข*), ๐ ๐ซ โ โช ๐ฌ ๐ ๐ข. ๐ ๐ช โ๏ธ `async def` โ๏ธ ๐ `def`. & ๐ ๐ช ๐ฃ ๐ โฎ๏ธ `async def` ๐ ๐ `def` *โก ๐ ๏ธ ๐ข*, โ๏ธ `def` ๐ ๐ `async def` *โก ๐ ๏ธ ๐ข*, โ๏ธ. โซ๏ธ ๐ซ ๐ค. **FastAPI** ๐ ๐ญ โซ๏ธโ. /// note
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/ko/docs/index.md
app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>๋๋ <code>async def</code> ์ฌ์ฉํ๊ธฐ...</summary> ์ฌ๋ฌ๋ถ์ ์ฝ๋๊ฐ `async` / `await`์ ์ฌ์ฉํ๋ค๋ฉด, `async def`๋ฅผ ์ฌ์ฉํ์ญ์์ค. ```Python hl_lines="9 14"
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.7K bytes - Viewed (0) -
docs/sts/web-identity.py
region_name='us-east-1', use_ssl=False, endpoint_url='http://localhost:9000', ) app = Flask(__name__) @app.route('/') def homepage(): text = '<a href="%s">Authenticate with keycloak</a>' return text % make_authorization_url() def make_authorization_url(): # Generate a random string for the state parameter # Save it for use later to prevent xsrf attacks state = str(uuid4())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/sub-dependencies.md
//// tab | Python 3.8+ ```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value} ``` //// //// tab | Python 3.8+ nicht annotiert /// tip | Tipp Bevorzugen Sie die `Annotated`-Version, falls mรถglich. /// ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/index.md
Sie kรถnnen `async def` oder einfach `def` verwenden. Und Sie kรถnnen Abhรคngigkeiten mit `async def` innerhalb normaler `def`-*Pfadoperation-Funktionen* oder `def`-Abhรคngigkeiten innerhalb von `async def`-*Pfadoperation-Funktionen*, usw. deklarieren. Es spielt keine Rolle. **FastAPI** weiร, was zu tun ist. /// note | Hinweis
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
Request( url = server.url("/"), body = "def".toRequestBody("text/plain".toMediaType()), ) executeSynchronously(request) .assertCode(200) .assertBody("abc") val recordedRequest = server.takeRequest() assertThat(recordedRequest.method).isEqualTo("POST") assertThat(recordedRequest.body?.utf8()).isEqualTo("def") assertThat(recordedRequest.headers["Content-Length"]).isEqualTo("3")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0)