Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,045 for cython (0.28 seconds)

  1. docs/de/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *}
    
    /// info | Info
    
    Um `EmailStr` zu verwenden, installieren Sie zuerst [`email-validator`](https://github.com/JoshData/python-email-validator).
    
    Stellen Sie sicher, dass Sie eine [virtuelle Umgebung](../virtual-environments.md) erstellen, sie aktivieren und es dann installieren, zum Beispiel:
    
    ```console
    $ pip install email-validator
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  2. docs/de/docs/deployment/concepts.md

    ### Was ist ein Programm { #what-is-a-program }
    
    Das Wort **Programm** wird häufig zur Beschreibung vieler Dinge verwendet:
    
    * Der **Code**, den Sie schreiben, die **Python-Dateien**.
    * Die **Datei**, die vom Betriebssystem **ausgeführt** werden kann, zum Beispiel: `python`, `python.exe` oder `uvicorn`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  3. docs/en/docs/deployment/concepts.md

    ### What is a Program { #what-is-a-program }
    
    The word **program** is commonly used to describe many things:
    
    * The **code** that you write, the **Python files**.
    * The **file** that can be **executed** by the operating system, for example: `python`, `python.exe` or `uvicorn`.
    * A particular program while it is **running** on the operating system, using the CPU, and storing things in memory. This is also called a **process**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 18.5K bytes
    - Click Count (1)
  4. docs/de/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Wenn Ihr Code so strukturiert wäre:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Dann würden Sie den `entrypoint` wie folgt setzen:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    was gleichbedeutend wäre mit:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  5. docs/en/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    If your code was structured like:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Then you would set the `entrypoint` as:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    which would be equivalent to:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. docs/pt/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Se o seu código estivesse estruturado assim:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Então você definiria o `entrypoint` como:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    o que seria equivalente a:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. docs/ko/docs/advanced/async-tests.md

    `TestClient`는 표준 pytest를 사용하여, 일반 `def` 테스트 함수 안에서 비동기 FastAPI 애플리케이션을 호출하도록 내부에서 마법 같은 처리를 합니다. 하지만 비동기 함수 안에서 이를 사용하면 그 마법은 더 이상 동작하지 않습니다. 테스트를 비동기로 실행하면, 테스트 함수 안에서 `TestClient`를 더 이상 사용할 수 없습니다.
    
    `TestClient`는 [HTTPX](https://www.python-httpx.org)를 기반으로 하며, 다행히 HTTPX를 직접 사용해 API를 테스트할 수 있습니다.
    
    ## 예시 { #example }
    
    간단한 예시로, [더 큰 애플리케이션](../tutorial/bigger-applications.md)과 [테스트](../tutorial/testing.md)에서 설명한 것과 비슷한 파일 구조를 살펴보겠습니다:
    
    ```
    .
    ├── app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/body-multiple-params.md

        "importance": 5
    }
    ```
    
    同樣地,它會進行型別轉換、驗證、文件化等。
    
    ## 多個 Body 參數與 Query { #multiple-body-params-and-query }
    
    當然,你也可以在任何 Body 參數之外,視需要宣告額外的查詢參數。
    
    由於預設情況下,單一值會被解讀為查詢參數,你不必明確使用 `Query`,直接這樣寫即可:
    
    ```Python
    q: str | None = None
    ```
    
    例如:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    /// info | 注意
    
    `Body` 也具有與 `Query`、`Path` 以及之後你會看到的其他工具相同的額外驗證與中繼資料參數。
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. fastapi/background.py

        sent to the client.
    
        Read more about it in the
        [FastAPI docs for Background Tasks](https://fastapi.tiangolo.com/tutorial/background-tasks/).
    
        ## Example
    
        ```python
        from fastapi import BackgroundTasks, FastAPI
    
        app = FastAPI()
    
    
        def write_notification(email: str, message=""):
            with open("log.txt", mode="w") as email_file:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/additional-responses.md

    そのような場合、Python の `**dict_to_unpack` による `dict` の「アンパック」テクニックを使えます:
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    ここでは、`new_dict` には `old_dict` のすべてのキーと値に加え、新しいキーと値が含まれます:
    
    ```Python
    {
        "old key": "old value",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top