Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for bugs (0.12 sec)

  1. docs/en/docs/help-fastapi.md

    There you can select "Releases only".
    
    By doing it, you will receive notifications (in your email) whenever there's a new release (a new version) of **FastAPI** with bug fixes and new features.
    
    ## Connect with the author
    
    You can connect with <a href="https://tiangolo.com" class="external-link" target="_blank">me (Sebastián Ramírez / `tiangolo`)</a>, the author.
    
    You can:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/handling-errors.md

    E assim deve ser porque seria um bug no seu código ter o `ValidationError` do Pydantic na sua *response*, ou em qualquer outro lugar do seu código (que não na requisição do cliente).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. docs/zh/docs/help-fastapi.md

    您可以选择只关注发布(**Releases only**)。
    
    这样,您就可以(在电子邮件里)接收到 **FastAPI** 新版发布的通知,及时了解 bug 修复与新功能。
    
    ## 联系作者
    
    您可以联系项目作者,就是<a href="https://tiangolo.com" class="external-link" target="_blank">我(Sebastián Ramírez / `tiangolo`</a>)。
    
    您可以:
    
    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)
  4. docs/zh/docs/deployment/concepts.md

    * 作为其服务的一部分由云提供商内部处理
    * 其他的...
    
    我将在接下来的章节中为您提供更具体的示例。
    
    
    ## 重新启动
    
    与确保应用程序在启动时运行类似,您可能还想确保它在挂掉后**重新启动**。
    
    ### 我们会犯错误
    
    作为人类,我们总是会犯**错误**。 软件几乎*总是*在不同的地方隐藏着**bug**。 🐛
    
    作为开发人员,当我们发现这些bug并实现新功能(也可能添加新bug😅)时,我们会不断改进代码。
    
    ### 自动处理小错误
    
    使用 FastAPI 构建 Web API 时,如果我们的代码中存在错误,FastAPI 通常会将其包含到触发错误的单个请求中。 🛡
    
    对于该请求,客户端将收到 **500 内部服务器错误**,但应用程序将继续处理下一个请求,而不是完全崩溃。
    
    ### 更大的错误 - 崩溃
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  5. docs/zh/docs/deployment/versions.md

    ## 可用版本
    
    你可以在[发行说明](../release-notes.md){.internal-link target=_blank}中查看可用版本(例如查看当前最新版本)。
    
    ## 关于版本
    
    遵循语义版本控制约定,任何低于`1.0.0`的版本都可能会添加 breaking changes。
    
    FastAPI 还遵循这样的约定:任何`PATCH`版本更改都是为了bug修复和non-breaking changes。
    
    !!! tip
         "PATCH"是最后一个数字,例如,在`0.2.3`中,PATCH版本是`3`。
    
    因此,你应该能够固定到如下版本:
    
    ```txt
    fastapi>=0.45.0,<0.46.0
    ```
    
    "MINOR"版本中会添加breaking changes和新功能。
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Sep 22 23:30:46 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. docs/zh/docs/benchmarks.md

    * **Uvicorn**:
        * 具有最佳性能,因为除了服务器本身外,它没有太多额外的代码。
        * 您不会直接在 Uvicorn 中编写应用程序。这意味着您的代码至少必须包含 Starlette(或 **FastAPI**)提供的代码。如果您这样做了(即直接在 Uvicorn 中编写应用程序),最终的应用程序会和使用了框架并且最小化了应用代码和 bug 的情况具有相同的性能损耗。
        * 如果要对比与 Uvicorn 对标的服务器,请将其与 Daphne,Hypercorn,uWSGI等应用服务器进行比较。
    * **Starlette**:
        * 在 Uvicorn 后使用 Starlette,性能会略有下降。实际上,Starlette 使用 Uvicorn运行。因此,由于必须执行更多的代码,它只会比 Uvicorn 更慢。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 07 14:33:29 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/handling-errors.md

    Das ist, wie es sein sollte, denn wenn Sie einen Pydantic-`ValidationError` in Ihrer *Response* oder irgendwo sonst in ihrem Code haben (es sei denn, im *Request* des Clients), ist das tatsächlich ein Bug in ihrem Code.
    
    Und während Sie den Fehler beheben, sollten ihre Clients/Benutzer keinen Zugriff auf interne Informationen über den Fehler haben, da das eine Sicherheitslücke aufdecken könnte.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py

        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"X-Token values": None}),
            ("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}),
            # TODO: fix this, is it a bug?
            # ("/items", [("x-token", "foo"), ("x-token", "bar")], 200, {"X-Token values": ["foo", "bar"]}),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    !!! warning "警告"
    
        辅助的附加函数只是为了演示可能的数据流,但它们显然不能提供任何真正的安全机制。
    
    ## 减少重复
    
    **FastAPI** 的核心思想就是减少代码重复。
    
    代码重复会导致 bug、安全问题、代码失步等问题(更新了某个位置的代码,但没有同步更新其它位置的代码)。
    
    上面的这些模型共享了大量数据,拥有重复的属性名和类型。
    
    FastAPI 可以做得更好。
    
    声明 `UserBase` 模型作为其它模型的基类。然后,用该类衍生出继承其属性(类型声明、验证等)的子类。
    
    所有数据转换、校验、文档等功能仍将正常运行。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 01:15:53 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    It should be this way because if you have a Pydantic `ValidationError` in your *response* or anywhere in your code (not in the client's *request*), it's actually a bug in your code.
    
    And while you fix it, your clients/users shouldn't have access to internal information about the error, as that could expose a security vulnerability.
    
    ### Override the `HTTPException` error handler
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top