Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1801 - 1810 of 2,633 for paths (0.02 seconds)

  1. docs/en/docs/tutorial/index.md

    ///
    
    /// tip
    
    FastAPI has an [official extension for VS Code](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode) (and Cursor), which provides a lot of features, including a path operation explorer, path operation search, CodeLens navigation in tests (jump to definition from tests), and FastAPI Cloud deployment and logs, all from your editor.
    
    ///
    
    ## Advanced User Guide { #advanced-user-guide }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/websockets.md

    ## Usando `Depends` e outros { #using-depends-and-others }
    
    Nos endpoints WebSocket você pode importar do `fastapi` e usar:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Eles funcionam da mesma forma que para outros endpoints FastAPI/*operações de rota*:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info | Informação
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/testing-dependencies.md

    すると **FastAPI** は元の依存関係の代わりにそのオーバーライドを呼び出します。
    
    {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}
    
    /// tip | 豆知識
    
    アプリケーション内のどこで使われている依存関係に対しても、依存関係のオーバーライドを設定できます。
    
    元の依存関係は、*path operation 関数*、*path operation デコレータ*(戻り値を使わない場合)、`.include_router()` の呼び出しなど、さまざまな場所で使われていてもかまいません。
    
    FastAPI はそれでもオーバーライドできます。
    
    ///
    
    その後、`app.dependency_overrides` を空の `dict` に設定することで、オーバーライドをリセット(削除)できます:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 3K bytes
    - Click Count (0)
  4. docs/tr/docs/fastapi-cli.md

    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    Bu da şu koda eşdeğerdir:
    
    ```python
    from backend.main import app
    ```
    
    ### path ile `fastapi dev` { #fastapi-dev-with-path }
    
    Ayrıca `fastapi dev` komutuna dosya path'ini de verebilirsiniz; hangi FastAPI app nesnesinin kullanılacağını tahmin eder:
    
    ```console
    $ fastapi dev main.py
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    或
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    或其它任意大小写形式(大写、首字母大写等),函数接收的 `short` 参数都是布尔值 `True`。否则为 `False`。
    
    
    ## 多个路径和查询参数 { #multiple-path-and-query-parameters }
    
    **FastAPI** 可以识别同时声明的多个路径参数和查询参数。
    
    而且声明查询参数的顺序并不重要。
    
    FastAPI 通过参数名进行检测:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/stream-json-lines.md

    戻り値の型を宣言すると、FastAPI はそれを使ってデータを**検証**し、OpenAPI に**ドキュメント化**し、**フィルター**し、Pydantic で**シリアライズ**します。
    
    /// tip | 豆知識
    
    Pydantic は **Rust** 側でシリアライズを行うため、戻り値の型を宣言しない場合に比べて大幅に高い**パフォーマンス**が得られます。
    
    ///
    
    ### 非 async の *path operation 関数* { #non-async-path-operation-functions }
    
    `async` を使わない通常の `def` 関数でも同様に `yield` を使えます。
    
    FastAPI が適切に実行されるように処理するため、イベントループをブロックしません。
    
    この場合は関数が async ではないので、適切な戻り値の型は `Iterable[Item]` です:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial002_py310.py hl[2,8:11] *}
    
    ## `examples` im JSON-Schema – OpenAPI { #examples-in-json-schema-openapi }
    
    Bei Verwendung von:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  8. cmd/erasure-encode_test.go

    }
    
    func (a badDisk) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	return errFaultyDisk
    }
    
    func (a badDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) {
    	return nil, errFaultyDisk
    }
    
    func (a badDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error {
    	return errFaultyDisk
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  9. cmd/storage-rest_test.go

    func testStorageAPIListDir(t *testing.T, storage StorageAPI) {
    	err := storage.AppendFile(t.Context(), "foo", "path/to/myobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	testCases := []struct {
    		volumeName     string
    		prefix         string
    		expectedResult []string
    		expectErr      bool
    	}{
    		{"foo", "path", []string{"to/"}, false},
    		// prefix not found error.
    		{"foo", "nodir", nil, true},
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. scripts/playwright/sql_databases/image02.py

        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_label("post /heroes/").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/sql-databases/image02.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.1K bytes
    - Click Count (0)
Back to Top