- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 243 for def (0.04 sec)
-
docs/fa/docs/index.md
from fastapi import FastAPI 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>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 26K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
Elle sera appelée par **FastAPI** quand une requête sur l'URL `/` sera reçue via une opération `GET`. Ici, c'est une fonction asynchrone (définie avec `async def`). --- Vous pourriez aussi la définir comme une fonction classique plutôt qu'avec `async def` : {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
* @param extension the file extension to look up (without the dot) * @param def the default MIME type to return if no mapping is found * @return the MIME type for the extension, or the specified default if not found * @throws IOException if there is an error processing the MIME mappings */ public String getMimeType(final String extension, final String def) throws IOException { int state, t, x, i, off; byte ch;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(response1.body.source().readUtf8(3)).isEqualTo("ABC") assertThat(response2.body.source().readUtf8(3)).isEqualTo("GHI") assertThat(response1.body.source().readUtf8(3)).isEqualTo("DEF") assertThat(response2.body.source().readUtf8(3)).isEqualTo("JKL") val c0e0 = server.takeRequest() assertThat(c0e0.connectionIndex).isEqualTo(0) assertThat(c0e0.exchangeIndex).isEqualTo(0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
docs/em/docs/advanced/events.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6K bytes - Viewed (0) -
docs/es/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>O usa <code>async def</code>...</summary> Si tu código usa `async` / `await`, usa `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 - 21.5K bytes - Viewed (0) -
docs/nl/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>Of maak gebruik van <code>async def</code>...</summary> Als je code gebruik maakt van `async` / `await`, gebruik dan `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 - 21.2K bytes - Viewed (0) -
docs/pt/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>Ou use <code>async def</code>...</summary> Se seu código utiliza `async` / `await`, use `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 - 21.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
// Verify name suffix is set assertEquals("Pager", pagerCreator.getNameSuffix()); // Verify instance def is SESSION assertEquals(InstanceDefFactory.SESSION, pagerCreator.getInstanceDef()); // Verify auto binding def is NONE assertEquals(AutoBindingDefFactory.NONE, pagerCreator.getAutoBindingDef()); } // Test getPagerCustomizer when no customizer is setRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.6K bytes - Viewed (0) -
docs/de/docs/advanced/events.md
Diese Funktionen können mit `async def` oder normalem `def` deklariert werden. ### `startup`-Event Um eine Funktion hinzuzufügen, die vor dem Start der Anwendung ausgeführt werden soll, deklarieren Sie diese mit dem Event `startup`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9K bytes - Viewed (0)