- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 199 for def2 (0.13 sec)
-
docs/en/docs/advanced/settings.md
```Python Settings() ``` a new `Settings` object would be created, and at creation it would read the `.env` file again. If the dependency function was just like: ```Python def get_settings(): return Settings() ``` we would create that object for each request, and we would be reading the `.env` file for each request. ⚠️
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} private static String getMessage(Throwable error, String def) { if (error == null) { return def; } String msg = error.getMessage(); if (msg != null && !msg.isEmpty()) { return msg; } return getMessage(error.getCause(), def); } private ArtifactRepositoryLayout getLayout(String id) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/first-steps.md
FastAPI викликатиме її щоразу, коли отримає запит до URL із шляхом "/", використовуючи операцію `GET`. У даному випадку це асинхронна функція. --- Ви також можете визначити її як звичайну функцію замість `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note | Примітка Якщо не знаєте в чому різниця, подивіться [Конкурентність: *"Поспішаєш?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 15.5K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
For example, inside of an `async` *path operation function* you can get the contents with: ```Python contents = await myfile.read() ``` If you are inside of a normal `def` *path operation function*, you can access the `UploadFile.file` directly, for example: ```Python contents = myfile.file.read() ``` /// note | `async` Technical Details
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-files.md
Por exemplo, dentro de uma função de *operação de rota* `assíncrona`, você pode obter o conteúdo com: ```Python contents = await myfile.read() ``` Se você estiver dentro de uma função de *operação de rota* normal `def`, você pode acessar o `UploadFile.file` diretamente, por exemplo: ```Python contents = myfile.file.read() ``` /// note | Detalhes Técnicos do `async`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
## Klassen als Abhängigkeiten Möglicherweise stellen Sie fest, dass Sie zum Erstellen einer Instanz einer Python-Klasse die gleiche Syntax verwenden. Zum Beispiel: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` In diesem Fall ist `fluffy` eine Instanz der Klasse `Cat`. Und um `fluffy` zu erzeugen, rufen Sie `Cat` auf.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/vi/docs/tutorial/first-steps.md
Trong trường hợp này, nó là một hàm `async`. --- Bạn cũng có thể định nghĩa nó như là một hàm thông thường thay cho `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note Nếu bạn không biết sự khác nhau, kiểm tra [Async: *"Trong khi vội vàng?"*](../async.md#in-a-hurry){.internal-link target=_blank}. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Nov 10 16:58:43 UTC 2024 - 11K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* | :--------------------- | :----------- | * | `http://host/` | null | * | `http://host/#` | `""` | * | `http://host/#abc` | `"abc"` | * | `http://host/#abc|def` | `"abc|def"` | */ @get:JvmName("fragment") val fragment: String?, /** Canonical URL. */ private val url: String, ) { val isHttps: Boolean get() = scheme == "https"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.assertOpen() val server = serverListener.assertOpen() webSocket.send("abc") serverListener.assertTextMessage("abc") server.send("def") clientListener.assertTextMessage("def") closeWebSockets(webSocket, server) } @Test @Throws(IOException::class) fun missingConnectionHeader() { webServer.enqueue( MockResponse
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
docs/em/docs/advanced/settings.md
✋️ 🔠 🕰 👥: ```Python Settings() ``` 🆕 `Settings` 🎚 🔜 ✍, & 🏗 ⚫️ 🔜 ✍ `.env` 📁 🔄. 🚥 🔗 🔢 💖: ```Python def get_settings(): return Settings() ``` 👥 🔜 ✍ 👈 🎚 🔠 📨, & 👥 🔜 👂 `.env` 📁 🔠 📨. 👶 👶 ✋️ 👥 ⚙️ `@lru_cache` 👨🎨 🔛 🔝, `Settings` 🎚 🔜 ✍ 🕴 🕐, 🥇 🕰 ⚫️ 🤙. 👶 👶
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.1K bytes - Viewed (0)