Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 645 for Pythons (0.03 sec)

  1. docs/es/docs/advanced/custom-response.md

    /// info | Información
    
    Esto requiere instalar `ujson`, por ejemplo, con `pip install ujson`.
    
    ///
    
    /// warning | Advertencia
    
    `ujson` es menos cuidadoso que la implementación integrada de Python en cómo maneja algunos casos extremos.
    
    ///
    
    {* ../../docs_src/custom_response/tutorial001_py39.py hl[2,7] *}
    
    /// tip | Consejo
    
    Es posible que `ORJSONResponse` sea una alternativa más rápida.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. docs/de/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | Technische Details
    
    Ein `Request` hat ein `request.scope`-Attribut, welches einfach ein Python-<abbr title="Dictionary – Zuordnungstabelle: In anderen Sprachen auch Hash, Map, Objekt, Assoziatives Array genannt">`dict`</abbr> ist, welches die mit dem Request verbundenen Metadaten enthält.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/body-updates.md

    ### Warnung bezüglich des Ersetzens { #warning-about-replacing }
    
    Das bedeutet, dass, wenn Sie den Artikel `bar` aktualisieren wollen, mittels `PUT` und folgendem Body:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    weil das bereits gespeicherte Attribut `"tax": 20.2` nicht enthalten ist, das Eingabemodell den Defaultwert `"tax": 10.5` erhalten würde.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. docs/de/docs/fastapi-cli.md

    ```
    
    </div>
    
    Das Kommandozeilenprogramm namens `fastapi` ist das **FastAPI CLI**.
    
    FastAPI CLI nimmt den Pfad zu Ihrem Python-Programm (z. B. `main.py`), erkennt automatisch die `FastAPI`-Instanz (häufig `app` genannt), bestimmt den korrekten Importprozess und stellt sie dann bereit.
    
    Für die Produktion würden Sie stattdessen `fastapi run` verwenden. 🚀
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. docs/en/docs/fastapi-cli.md

    ```
    
    </div>
    
    The command line program called `fastapi` is **FastAPI CLI**.
    
    FastAPI CLI takes the path to your Python program (e.g. `main.py`) and automatically detects the `FastAPI` instance (commonly named `app`), determines the correct import process, and then serves it.
    
    For production you would use `fastapi run` instead. 🚀
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

    FastAPI 不会为同一个请求多次调用同一个依赖项,而是把依赖项的返回值进行<abbr title="一个实用程序/系统来存储计算/生成的值,以便重用它们,而不是再次计算它们。">「缓存」</abbr>,并把它传递给同一请求中所有需要使用该返回值的「依赖项」。
    
    在高级使用场景中,如果不想使用「缓存」值,而是为需要在同一请求的每一步操作(多次)中都实际调用依赖项,可以把 `Depends` 的参数 `use_cache` 的值设置为 `False` :
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## 小结
    
    千万别被本章里这些花里胡哨的词藻吓倒了,其实**依赖注入**系统非常简单。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/pt/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | Detalhes Técnicos
    
    Um `Request` tem um atributo `request.scope`, que é apenas um `dict` do Python contendo os metadados relacionados à requisição.
    
    Um `Request` também tem um `request.receive`, que é uma função para "receber" o corpo da requisição.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/custom-response.md

    /// info | Информация
    
    Требуется установка `ujson`, например командой `pip install ujson`.
    
    ///
    
    /// warning | Предупреждение
    
    `ujson` менее аккуратен, чем встроенная реализация Python, в обработке некоторых крайних случаев.
    
    ///
    
    {* ../../docs_src/custom_response/tutorial001_py39.py hl[2,7] *}
    
    /// tip | Совет
    
    Возможно, `ORJSONResponse` окажется более быстрым вариантом.
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/response-model.md

    ///
    
    #### 默认值字段有实际值的数据
    
    但是,如果你的数据在具有默认值的模型字段中有实际的值,例如 ID 为 `bar` 的项:
    
    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    这些值将包含在响应中。
    
    #### 具有与默认值相同值的数据
    
    如果数据具有与默认值相同的值,例如 ID 为 `baz` 的项:
    
    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
        "description": None,
        "price": 50.2,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/ko/docs/deployment/server-workers.md

            ```Python
            from main import app
            ```
    
        * 곧, `main:app`안에 있는 콜론의 의미는 파이썬에서 `from main import app`에서의 `import`와 같습니다.
    * `--workers`: 사용할 워커 프로세스의 개수이며 숫자만큼의 유비콘 워커를 실행합니다. 이 예제에서는 4개의 워커를 실행합니다.
    * `--worker-class`: 워커 프로세스에서 사용하기 위한 구니콘과 호환되는 워커클래스.
        * 이런식으로 구니콘이 import하여 사용할 수 있는 클래스를 전달해줍니다:
    
            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top