Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 905 for operation (0.05 seconds)

  1. docs/ja/docs/tutorial/background-tasks.md

    `BackgroundTasks` の使用は依存性注入システムでも機能し、様々な階層 (*path operations 関数*、依存性 (依存可能性)、サブ依存性など) で `BackgroundTasks` 型のパラメーターを宣言できます。
    
    **FastAPI** は、それぞれの場合の処理​​方法と同じオブジェクトの再利用方法を知っているため、すべてのバックグラウンドタスクがマージされ、バックグラウンドで後で実行されます。
    
    {* ../../docs_src/background_tasks/tutorial002.py hl[13,15,22,25] *}
    
    この例では、レスポンスが送信された *後* にメッセージが `log.txt` ファイルに書き込まれます。
    
    リクエストにクエリがあった場合、バックグラウンドタスクでログに書き込まれます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/testing.md

    次に、この例を拡張し、詳細を追加して、さまざまなパーツをテストする方法を確認しましょう。
    
    
    ### 拡張版 **FastAPI** アプリファイル
    
    **FastAPI** アプリに `main_b.py` ファイルがあるとします。
    
    そのファイルには、エラーを返す可能性のある `GET` オペレーションがあります。
    
    また、いくつかのエラーを返す可能性のある `POST` オペレーションもあります。
    
    これらの *path operation* には `X-Token` ヘッダーが必要です。
    
    {* ../../docs_src/app_testing/app_b_py310/main.py *}
    
    ### 拡張版テストファイル
    
    次に、先程のものに拡張版のテストを加えた、`test_main_b.py` を作成します。
    
    {* ../../docs_src/app_testing/app_b/test_main.py *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. internal/http/headers.go

    	// Header indiicates last rtention update time on source
    	MinIOSourceObjectLegalHoldTimestamp = "X-Minio-Source-Replication-LegalHold-Timestamp"
    	// Header indicates a Tag operation was performed on one/more peers successfully, though the
    	// current cluster does not have the object yet. This is in a site/bucket replication scenario.
    	MinIOTaggingProxied = "X-Minio-Tagging-Proxied"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/bigger-applications.md

    我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
    
    我们可以添加一个 `dependencies` 列表,这些依赖项将被添加到路由器中的所有*路径操作*中,并将针对向它们发起的每个请求执行/解决。
    
    /// tip
    
    请注意,和[*路径操作装饰器*中的依赖项](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}很类似,没有值会被传递给你的*路径操作函数*。
    
    ///
    
    最终结果是项目相关的路径现在为:
    
    * `/items/`
    * `/items/{item_id}`
    
    ...如我们所愿。
    
    * 它们将被标记为仅包含单个字符串 `"items"` 的标签列表。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun May 11 13:37:26 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  5. generics.go

    // setCreateOrUpdateG[T] is a struct that holds operations to be executed in a batch.
    // It supports regular assignments and association operations.
    type setCreateOrUpdateG[T any] struct {
    	c        chainG[T]
    	assigns  []clause.Assignment
    	assocOps []clause.Association
    }
    
    func (s setCreateOrUpdateG[T]) Update(ctx context.Context) (rowsAffected int, err error) {
    	// Execute association operations
    	for _, assocOp := range s.assocOps {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/settings.md

    /// tip | Consejo
    
    Hablaremos del `@lru_cache` en un momento.
    
    Por ahora puedes asumir que `get_settings()` es una función normal.
    
    ///
    
    Y luego podemos requerirlo desde la *path operation function* como una dependencia y usarlo donde lo necesitemos.
    
    {* ../../docs_src/settings/app02_an_py39/main.py hl[17,19:21] *}
    
    ### Configuraciones y pruebas { #settings-and-testing }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

         * This simulates a more realistic scenario where multiple properties are set on a bean.
         */
        @Benchmark
        public void benchmarkOriginalHelperMultipleProperties() throws Exception {
            RealisticTestBean bean = new RealisticTestBean();
    
            // Set multiple properties in one benchmark iteration
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. internal/config/identity/plugin/config.go

    }
    
    // AuthNErrorResponse - represents an error response from the authN plugin.
    type AuthNErrorResponse struct {
    	Reason string `json:"reason"`
    }
    
    // AuthNResponse - represents a result of the authentication operation.
    type AuthNResponse struct {
    	Success *AuthNSuccessResponse
    	Failure *AuthNErrorResponse
    }
    
    const (
    	minValidityDurationSeconds int = 900
    	maxValidityDurationSeconds int = 365 * 24 * 3600
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/handling-errors.md

    Dieser Client könnte ein Browser mit einem Frontend sein, ein Code von jemand anderem, ein IoT-Gerät usw.
    
    Sie könnten dem Client mitteilen müssen, dass:
    
    * Der Client nicht genügend Berechtigungen für diese Operation hat.
    * Der Client keinen Zugriff auf diese Ressource hat.
    * Die Ressource, auf die der Client versucht hat, zuzugreifen, nicht existiert.
    * usw.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/openapi-callbacks.md

    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[1,23] *}
    
    ### Создайте *операцию пути* для обратного вызова { #create-the-callback-path-operation }
    
    Чтобы создать *операцию пути* для обратного вызова, используйте тот же `APIRouter`, который вы создали выше.
    
    Она должна выглядеть как обычная *операция пути* FastAPI:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top