Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2351 - 2360 of 2,633 for paths (0.02 seconds)

  1. docs/pt/docs/advanced/stream-data.md

    O FastAPI entregará cada bloco de dados para `StreamingResponse` como está, não tentará convertê-lo para JSON nem nada semelhante.
    
    ### Funções de operação de rota não assíncronas { #non-async-path-operation-functions }
    
    Você também pode usar funções `def` normais (sem `async`) e usar `yield` da mesma forma.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    ### Sem anotação { #no-annotation }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

            end
        end
    
        style V2 fill:#f9fff3
        style V1 fill:#fff6f0
        style V1Field fill:#fff6f0
        style V2Field fill:#f9fff3
    ```
    
    在某些情況下,你甚至可以在同一個 FastAPI 路徑操作(path operation)中同時使用 Pydantic v1 與 v2 模型:
    
    {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}
    
    在上面的範例中,輸入模型是 Pydantic v1,輸出模型(於 `response_model=ItemV2` 定義)是 Pydantic v2。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. src/archive/tar/tar_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"maps"
    	"math"
    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    type fileOps []any // []T where T is (string | int64)
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  4. src/bufio/scan.go

    func ScanRunes(data []byte, atEOF bool) (advance int, token []byte, err error) {
    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    
    	// Fast path 1: ASCII.
    	if data[0] < utf8.RuneSelf {
    		return 1, data[0:1], nil
    	}
    
    	// Fast path 2: Correct UTF-8 decode without error.
    	_, width := utf8.DecodeRune(data)
    	if width > 1 {
    		// It's a valid encoding. Width cannot be one for a correctly encoded
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/websockets.md

    所有这些消息都将使用同一个 WebSocket 连接。
    
    ## 使用 `Depends` 和其他依赖项 { #using-depends-and-others }
    
    在 WebSocket 端点中,您可以从 `fastapi` 导入并使用以下内容:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    它们的工作方式与其他 FastAPI 端点/*路径操作* 相同:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    由于这是一个 WebSocket,抛出 `HTTPException` 并不是很合理,而是抛出 `WebSocketException`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. internal/grid/grid.go

    // The net.Conn must support all features as described by the net.Conn interface.
    type ConnDialer func(ctx context.Context, address string) (net.Conn, error)
    
    // ConnectWSWithRoutePath is like ConnectWS but with a custom grid route path.
    func ConnectWSWithRoutePath(dial ContextDialer, auth AuthFn, tls *tls.Config, routePath string) func(ctx context.Context, remote string) (net.Conn, error) {
    	return func(ctx context.Context, remote string) (net.Conn, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

         *
         * @param key the property key to check
         * @return true if the property should be included, false otherwise
         */
        private static boolean isBugReportTarget(final Object key) {
            if ("snapshot.path".equals(key) || "label.value".equals(key)) {
                return false;
            }
            return true;
        }
    
        /**
         * Creates a property item from a system property key.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/escape/CharEscaper.java

       * @throws NullPointerException if {@code string} is null
       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
            return escapeSlow(string, index);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

         * future, so we will suppress any such future Error Prone reports.
         */
        assertWithMessage(
                "Can't test the main listenInPoolThread path "
                    + "if the input is already a ListenableFuture")
            .that(input)
            .isNotInstanceOf(ListenableFuture.class);
        ListenableFuture<String> listenable = listenInPoolThread(input);
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/advanced/websockets.md

    而且它們都會使用同一個 WebSocket 連線。
    
    ## 使用 `Depends` 與其他功能 { #using-depends-and-others }
    
    在 WebSocket 端點中,你可以從 `fastapi` 匯入並使用:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    它們的運作方式與其他 FastAPI 端點/*路徑操作* 相同:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    因為這是 WebSocket,拋出 `HTTPException` 並沒有意義,因此我們改為拋出 `WebSocketException`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
Back to Top