Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for Kock (0.18 sec)

  1. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    This would mean that **FastAPI** would expect a body similar to:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Again, doing just that declaration, with **FastAPI** you get:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/docker.md

    ```
    
    1. 这是第一阶段,称为`requirements-stage`。
    
    2. 将 `/tmp` 设置为当前工作目录。
    
         这是我们生成文件`requirements.txt`的地方
    
    3. 在此阶段安装Poetry。
    
    4. 将`pyproject.toml`和`poetry.lock`文件复制到`/tmp`目录。
    
         因为它使用 `./poetry.lock*` (以 `*` 结尾),所以如果该文件尚不可用,它不会崩溃。
    
    5. 生成`requirements.txt`文件。
    
    6. 这是最后阶段,这里的任何内容都将保留在最终的容器镜像中。
    
    7. 将当前工作目录设置为`/code`。
    
    8. 将 `requirements.txt` 文件复制到 `/code` 目录。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/body-nested-models.md

    ```
    
    これは **FastAPI** が以下のようなボディを期待することを意味します:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    繰り返しになりますが、**FastAPI** を使用して、その宣言を行うだけで以下のような恩恵を受けられます:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/body-nested-models.md

        ```
    
    这意味着 **FastAPI** 将期望类似于以下内容的请求体:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    再一次,仅仅进行这样的声明,你将通过 **FastAPI** 获得:
    
    * 对被嵌入的模型也适用的编辑器支持(自动补全等)
    * 数据转换
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body-nested-models.md

        ```
    
    👉 🔜 ⛓ 👈 **FastAPI** 🔜 ⌛ 💪 🎏:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    🔄, 🤸 👈 📄, ⏮️ **FastAPI** 👆 🤚:
    
    * 👨‍🎨 🐕‍🦺 (🛠️, ♒️), 🐦 🏷
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/simple-oauth2.md

      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false,
      "hashed_password": "fakehashedsecret"
    }
    ```
    
    <img src="/img/tutorial/security/image06.png">
    
    If you click the lock icon and logout, and then try the same operation again, you will get an HTTP 401 error of:
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/testing-dependencies.md

    This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests.
    
    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests.
    
    ### Use the `app.dependency_overrides` attribute
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. docs/em/docs/deployment/docker.md

    1️⃣. 👉 🥇 ▶️, ⚫️ 🌟 `requirements-stage`.
    
    2️⃣. ⚒ `/tmp` ⏮️ 👷 📁.
    
        📥 🌐❔ 👥 🔜 🏗 📁 `requirements.txt`
    
    3️⃣. ❎ 🎶 👉 ☁ ▶️.
    
    4️⃣. 📁 `pyproject.toml` &amp; `poetry.lock` 📁 `/tmp` 📁.
    
        ↩️ ⚫️ ⚙️ `./poetry.lock*` (▶️ ⏮️ `*`), ⚫️ 🏆 🚫 💥 🚥 👈 📁 🚫 💪.
    
    5️⃣. 🏗 `requirements.txt` 📁.
    
    6️⃣. 👉 🏁 ▶️, 🕳 📥 🔜 🛡 🏁 📦 🖼.
    
    7️⃣. ⚒ ⏮️ 👷 📁 `/code`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-nested-models.md

    ```
    
    Isso significa que o **FastAPI** vai esperar um corpo similar à:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Novamente, apenas fazendo essa declaração, com o **FastAPI**, você ganha:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/ja/docs/deployment/docker.md

    ```
    
    1. これは最初のステージで、`requirements-stage`と名付けられます
    2. `/tmp` を現在の作業ディレクトリに設定します
        ここで `requirements.txt` というファイルを生成します。
    
    3. このDockerステージにPoetryをインストールします
    
    4. pyproject.toml`と`poetry.lock`ファイルを`/tmp` ディレクトリにコピーします
    
        `./poetry.lock*`(末尾に`*`)を使用するため、そのファイルがまだ利用できない場合でもクラッシュすることはないです。
    5. requirements.txt`ファイルを生成します
    
    6. これは最後のステージであり、ここにあるものはすべて最終的なコンテナ・イメージに保存されます
    7. 現在の作業ディレクトリを `/code` に設定します
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 44.3K bytes
    - Viewed (0)
Back to top