Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 890 for _path_ (0.05 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. scripts/playwright/separate_openapi_schemas/image01.py

        page.goto("http://localhost:8000/docs")
        page.get_by_text("POST/items/Create Item").click()
        page.get_by_role("tab", name="Schema").first.click()
        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 974 bytes
    - Click Count (0)
  7. misc/ios/clangwrap.sh

    # iphonesimulator with one of them.
    
    SDK=iphonesimulator
    PLATFORM=ios-simulator
    
    if [ "$GOARCH" == "arm64" ]; then
    	CLANGARCH="arm64"
    else
    	CLANGARCH="x86_64"
    fi
    
    SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
    
    # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
    CLANG=`xcrun --sdk $SDK --find clang`
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jun 18 16:32:49 GMT 2024
    - 724 bytes
    - Click Count (0)
  8. scripts/playwright/separate_openapi_schemas/image04.py

        page.get_by_role("button", name="Item-Output").click()
        page.set_viewport_size({"width": 960, "height": 820})
        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image04.png"
        )
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 1K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/bigger-applications.md

    你希望把與使用者相關的「路徑操作 (path operation)」從其他程式碼分離,讓結構更有條理。
    
    但它仍然是同一個 FastAPI 應用程式 / Web API 的一部分(屬於同一個「Python 套件」)。
    
    你可以使用 `APIRouter` 為該模組建立路徑操作。
    
    ### 匯入 `APIRouter` { #import-apirouter }
    
    你可以像對 `FastAPI` 類別那樣匯入並建立一個「實例」:
    
    {* ../../docs_src/bigger_applications/app_an_py310/routers/users.py hl[1,3] title["app/routers/users.py"] *}
    
    ### 使用 `APIRouter` 宣告路徑操作 { #path-operations-with-apirouter }
    
    然後用它來宣告你的路徑操作。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  10. tests/test_response_by_alias.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/dict": {
                        "get": {
                            "summary": "Read Dict",
                            "operationId": "read_dict_dict_get",
                            "responses": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top