Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1351 - 1360 of 1,944 for field (0.02 seconds)

  1. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    FastAPI admite dependencias que realizan algunos <dfn title='a veces también llamado "código de salida", "código de limpieza", "código de teardown", "código de cierre", "código de salida del context manager", etc.'>pasos adicionales después de finalizar</dfn>.
    
    Para hacer esto, usa `yield` en lugar de `return`, y escribe los pasos adicionales (código) después.
    
    /// tip | Consejo
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md

    事實上,FastAPI 內部就是使用這兩個裝飾器。
    
    ///
    
    ## 使用 `yield` 的資料庫相依 { #a-database-dependency-with-yield }
    
    例如,你可以用它建立一個資料庫 session,並在完成後關閉。
    
    只有 `yield` 之前(含 `yield` 本身)的程式碼會在產生回應之前執行:
    
    {* ../../docs_src/dependencies/tutorial007_py310.py hl[2:4] *}
    
    由 `yield` 產生的值會被注入到路徑操作(path operation)與其他相依中:
    
    {* ../../docs_src/dependencies/tutorial007_py310.py hl[4] *}
    
    位於 `yield` 之後的程式碼會在回應之後執行:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Failed to create new streaming signed HTTP request: <ERROR> %v.", err)
    		}
    		switch test.fault {
    		case BadSignature:
    			// Reset date field in header to make streaming signature fail.
    			req.Header.Set("x-amz-date", "")
    		case TooBigDecodedLength:
    			// Set decoded length to a large value out of int64 range to simulate parse failure.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    her feet, for it flashed across her mind that she had never
    before seen a rabbit with either a waistcoat-pocket, or a watch to
    take out of it, and burning with curiosity, she ran across the
    field after it, and fortunately was just in time to see it pop
    down a large rabbit-hole under the hedge.
    
      In another moment down went Alice after it, never once
    considering how in the world she was to get out again.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            item.setReadings(newReadings);
            assertArrayEquals(newReadings, item.getReadings());
    
            // Test fields
            String[] fields = { "field1", "field2" };
            item.setFields(fields);
            assertArrayEquals(fields, item.getFields());
    
            // Test tags
            String[] tags = { "tag1", "tag2" };
            item.setTags(tags);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    her feet, for it flashed across her mind that she had never
    before seen a rabbit with either a waistcoat-pocket, or a watch to
    take out of it, and burning with curiosity, she ran across the
    field after it, and fortunately was just in time to see it pop
    down a large rabbit-hole under the hedge.
    
      In another moment down went Alice after it, never once
    considering how in the world she was to get out again.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    実際、FastAPIは内部的にこれら2つのデコレータを使用しています。
    
    ///
    
    ## `yield`を持つデータベースの依存関係 { #a-database-dependency-with-yield }
    
    例えば、これを使ってデータベースセッションを作成し、終了後にそれを閉じることができます。
    
    レスポンスを作成する前に、`yield`文より前のコード(および`yield`文を含む)が実行されます:
    
    {* ../../docs_src/dependencies/tutorial007_py310.py hl[2:4] *}
    
    生成された値は、*path operations*や他の依存関係に注入されるものです:
    
    {* ../../docs_src/dependencies/tutorial007_py310.py hl[4] *}
    
    `yield`文に続くコードは、レスポンスの後に実行されます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/dependencies/dependencies-with-yield.md

    # Залежності з yield { #dependencies-with-yield }
    
    FastAPI підтримує залежності, які виконують деякі <dfn title='інколи також називається «код виходу», «код очищення», «код завершення», «код закриття», «код виходу менеджера контексту» тощо'>додаткові кроки після завершення</dfn>.
    
    Щоб це зробити, використовуйте `yield` замість `return` і напишіть додаткові кроки (код) після нього.
    
    /// tip | Порада
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/dependencies/dependencies-with-yield.md

    # `yield` ile Dependency'ler { #dependencies-with-yield }
    
    FastAPI, işini bitirdikten sonra <dfn title='bazen "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code" vb. olarak da adlandırılır'>ek adımlar</dfn> çalıştıran dependency'leri destekler.
    
    Bunu yapmak için `return` yerine `yield` kullanın ve ek adımları (kodu) `yield` satırından sonra yazın.
    
    /// tip | İpucu
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over dep_req: Run code after yield
        Note over dep_req: ✅ Dependency closed
    ```
    
    ## 包含 `yield`、`HTTPException`、`except` 和后台任务的依赖项 { #dependencies-with-yield-httpexception-except-and-background-tasks }
    
    带有 `yield` 的依赖项随着时间演进以涵盖不同的用例并修复了一些问题。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top