Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1431 - 1440 of 1,700 for Info (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial004.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/{item_id}": {
                        "put": {
                            "responses": {
                                "200": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/response-status-code.md

    ///
    
    El parámetro `status_code` recibe un número con el código de estado HTTP.
    
    /// info | Información
    
    `status_code` también puede recibir un `IntEnum`, como por ejemplo el [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) de Python.
    
    ///
    
    Esto hará:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/cors.md

    ### Basit request'ler { #simple-requests }
    
    `Origin` header’ı olan herhangi bir request. Bu durumda middleware request’i normal şekilde geçirir, ancak response’a uygun CORS header’larını ekler.
    
    ## Daha Fazla Bilgi { #more-info }
    
    <abbr title="Cross-Origin Resource Sharing - Kökenler Arası Kaynak Paylaşımı">CORS</abbr> hakkında daha fazla bilgi için [Mozilla CORS dokümantasyonu](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)na bakın.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.29.md

      - `alpha` support (guarded by the `ServiceAccountTokenPodNodeInfo` feature gate) for including the node name (and uid, if the node exists) as additional claims in service account tokens it issues which are bound to pods, and `authentication.kubernetes.io/node-name` and `authentication.kubernetes.io/node-uid` extra user info when the token is used to authenticate.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Mar 12 00:36:01 GMT 2025
    - 429.6K bytes
    - Click Count (1)
  5. docs/zh/docs/advanced/dataclasses.md

    因此,即便上面的代码没有显式使用 Pydantic,FastAPI 也会使用 Pydantic 将那些标准数据类转换为 Pydantic 风格的 dataclasses。
    
    并且,它仍然支持以下功能:
    
    * 数据验证
    * 数据序列化
    * 数据文档等
    
    这与使用 Pydantic 模型时的工作方式相同。而且底层实际上也是借助 Pydantic 实现的。
    
    /// info | 信息
    
    请注意,数据类不能完成 Pydantic 模型能做的所有事情。
    
    因此,你可能仍然需要使用 Pydantic 模型。
    
    但如果你已有一堆数据类,这个技巧可以让它们很好地为使用 FastAPI 的 Web API 所用。🤓
    
    ///
    
    ## 在 `response_model` 中使用数据类 { #dataclasses-in-response-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/response-status-code.md

    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | 注意
    
    注意,`status_code` 是(`get`、`post` 等)**装饰器**方法中的参数。与之前的参数和请求体不同,不是*路径操作函数*的参数。
    
    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | 信息
    
    `status_code` 还能接收 `IntEnum` 类型,比如 Python 的 [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus)。
    
    ///
    
    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. docs/ko/docs/alternatives.md

    Webargs는 Flask를 포함한 여러 framework 위에서 이를 제공하기 위해 만들어진 도구입니다.
    
    내부적으로 Marshmallow를 사용해 데이터 검증을 수행합니다. 그리고 같은 개발자들이 만들었습니다.
    
    아주 훌륭한 도구이며, 저도 **FastAPI**를 만들기 전에 많이 사용했습니다.
    
    /// info | 정보
    
    Webargs는 Marshmallow와 같은 개발자들이 만들었습니다.
    
    ///
    
    /// check | **FastAPI**에 영감을 준 것
    
    들어오는 요청 데이터의 자동 검증을 갖기.
    
    ///
    
    ### [APISpec](https://apispec.readthedocs.io/en/stable/) { #apispec }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/server-sent-events.md

    Esto es similar a [Stream JSON Lines](stream-json-lines.md), pero usa el formato `text/event-stream`, que los navegadores soportan de forma nativa con la [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
    
    /// info | Información
    
    Añadido en FastAPI 0.135.0.
    
    ///
    
    ## ¿Qué son los Server-Sent Events? { #what-are-server-sent-events }
    
    SSE es un estándar para hacer streaming de datos desde el servidor al cliente sobre HTTP.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/response-directly.md

    ///
    
    ## Renvoyer une `Response` { #return-a-response }
    
    Vous pouvez renvoyer une `Response` ou n'importe laquelle de ses sous-classes.
    
    /// info
    
    `JSONResponse` est elle-même une sous-classe de `Response`.
    
    ///
    
    Et lorsque vous renvoyez une `Response`, **FastAPI** la transmet directement.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. docs/es/docs/how-to/separate-openapi-schemas.md

    En ese caso, puedes desactivar esta funcionalidad en **FastAPI**, con el parámetro `separate_input_output_schemas=False`.
    
    /// info | Información
    
    El soporte para `separate_input_output_schemas` fue agregado en FastAPI `0.102.0`. 🤓
    
    ///
    
    {* ../../docs_src/separate_openapi_schemas/tutorial002_py310.py hl[10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top