- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 236 for asyncio (0.07 sec)
-
docs/ja/docs/tutorial/background-tasks.md
**FastAPI** は、`BackgroundTasks` 型のオブジェクトを作成し、そのパラメーターに渡します。 ## タスク関数の作成 バックグラウンドタスクとして実行される関数を作成します。 これは、パラメーターを受け取ることができる単なる標準的な関数です。 これは `async def` または通常の `def` 関数であり、**FastAPI** はこれを正しく処理します。 ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。 また、書き込み操作では `async` と `await` を使用しないため、通常の `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.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
Neste caso, é uma função `assíncrona`. --- Você também pode defini-la como uma função normal em vez de `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note | Nota Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#com-pressa){.internal-link target=_blank}. /// ### Passo 5: retorne o conteúdo
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Jan 09 20:41:07 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/first-steps.md
これは、Pythonの関数です。 この関数は、`GET`オペレーションを使ったURL「`/`」へのリクエストを受け取るたびに**FastAPI**によって呼び出されます。 この場合、この関数は`async`関数です。 --- `async def`の代わりに通常の関数として定義することもできます: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note | 備考 違いが分からない場合は、[Async: *"急いでいますか?"*](../async.md#_1){.internal-link target=_blank}を確認してください。 /// ### Step 5: コンテンツの返信
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11K bytes - Viewed (0) -
docs/es/docs/tutorial/background-tasks.md
Es solo una función estándar que puede recibir parámetros. Puede ser una función `async def` o una función normal `def`, **FastAPI** sabrá cómo manejarla correctamente. En este caso, la función de tarea escribirá en un archivo (simulando el envío de un email). Y como la operación de escritura no usa `async` y `await`, definimos la función con un `def` normal: {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/metacache-manager.go
mu sync.RWMutex init sync.Once buckets map[string]*bucketMetacache trash map[string]metacache // Recently deleted lists. } const metacacheMaxEntries = 5000 // initManager will start async saving the cache. func (m *metacacheManager) initManager() { // Add a transient bucket. // Start saver when object layer is ready. go func() { objAPI := newObjectLayerFn() for objAPI == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java
* * @author mbechler */ public interface CommonServerMessageBlockResponse extends CommonServerMessageBlock, Response { /** * Checks if this is an asynchronous response. * * @return is an async response */ boolean isAsync(); /** * * @return the next response */ @Override CommonServerMessageBlockResponse getNextResponse(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
MIGRATION.md
Using the, you can replace existing GSS/CSE JavaScript codes with: ``` <script> (function() { var fess = document.createElement('script'); fess.type = 'text/javascript'; fess.async = true; fess.src = '//<Fess Server Name>/js/ss/fess-ss.min.js'; fess.charset = 'utf-8'; fess.setAttribute('id', 'fess-ss'); fess.setAttribute('fess-url', '//<Server Name>/json');
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Mar 05 06:12:02 UTC 2019 - 1.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
import okhttp3.internal.connection.RealCall.AsyncCall import okhttp3.internal.okHttpName import okhttp3.internal.threadFactory import okhttp3.internal.unmodifiable /** * Policy on when async requests are executed. * * Each dispatcher uses an [ExecutorService] to run calls internally. If you supply your own * executor, it should be able to run [the configured maximum][maxRequests] number of calls * concurrently.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 8.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/background-tasks.md
**FastAPI** 는 `BackgroundTasks` 개체를 생성하고, 매개 변수로 전달합니다. ## 작업 함수 생성 백그라운드 작업으로 실행할 함수를 정의합니다. 이것은 단순히 매개변수를 받을 수 있는 표준 함수일 뿐입니다. **FastAPI**는 이것이 `async def` 함수이든, 일반 `def` 함수이든 내부적으로 이를 올바르게 처리합니다. 이 경우, 아래 작업은 파일에 쓰는 함수입니다. (이메일 보내기 시물레이션) 그리고 이 작업은 `async`와 `await`를 사용하지 않으므로 일반 `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.2K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/sub-dependencies.md
🏧 😐 🌐❔ 👆 💭 👆 💪 🔗 🤙 🔠 🔁 (🎲 💗 🕰) 🎏 📨 ↩️ ⚙️ "💾" 💲, 👆 💪 ⚒ 🔢 `use_cache=False` 🕐❔ ⚙️ `Depends`: ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value} ``` ## 🌃 ↖️ ⚪️➡️ 🌐 🎀 🔤 ⚙️ 📥, **🔗 💉** ⚙️ 🙅. 🔢 👈 👀 🎏 *➡ 🛠️ 🔢*.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.7K bytes - Viewed (0)