Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 728 for python (0.12 sec)

  1. docs/de/docs/tutorial/testing.md

    # Testen { #testing }
    
    Dank <a href="https://www.starlette.dev/testclient/" class="external-link" target="_blank">Starlette</a> ist das Testen von **FastAPI**-Anwendungen einfach und macht Spaß.
    
    Es basiert auf <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, welches wiederum auf der Grundlage von Requests konzipiert wurde, es ist also sehr vertraut und intuitiv.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/body-nested-models.md

    Puedes definir un atributo como un subtipo. Por ejemplo, una `list` en Python:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Esto hará que `tags` sea una lista, aunque no declare el tipo de los elementos de la lista.
    
    ## Campos de lista con parámetro de tipo { #list-fields-with-type-parameter }
    
    Pero Python tiene una forma específica de declarar listas con tipos internos, o "parámetros de tipo":
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/http-basic-auth.md

    And they send a request with a username `johndoe` and a password `love123`.
    
    Then the Python code in your application would be equivalent to something like:
    
    ```Python
    if "johndoe" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms-and-files.md

    /// info
    
    To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Import `File` and `Form` { #import-file-and-form }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. docs/de/docs/index.md

    Das machen Sie mit modernen Standard-Python-Typen.
    
    Sie müssen keine neue Syntax, Methoden oder Klassen einer bestimmten Bibliothek usw. lernen.
    
    Nur Standard-**Python**.
    
    Zum Beispiel für ein `int`:
    
    ```Python
    item_id: int
    ```
    
    oder für ein komplexeres `Item`-Modell:
    
    ```Python
    item: Item
    ```
    
    ... und mit dieser einen Deklaration erhalten Sie:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  6. docs/en/docs/tutorial/header-params.md

    But a variable like `user-agent` is invalid in Python.
    
    So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers.
    
    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/security/http-basic-auth.md

    Y envían un request con un nombre de usuario `johndoe` y una contraseña `love123`.
    
    Entonces el código de Python en tu aplicación equivaldría a algo como:
    
    ```Python
    if "johndoe" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. docs/zh-hant/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    
    ### 現代 Python
    
    這一切都基於標準的 **Python 型別**宣告(感謝 Pydantic)。無需學習新的語法,只需使用標準的現代 Python。
    
    如果你需要 2 分鐘來學習如何使用 Python 型別(即使你不使用 FastAPI),可以看看這個簡短的教學:[Python 型別](python-types.md){.internal-link target=_blank}。
    
    如果你寫帶有 Python 型別的程式碼:
    
    ```python
    from datetime import date
    
    from pydantic import BaseModel
    
    # 宣告一個變數為 string
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. README.md

    You do that with standard modern Python types.
    
    You don't have to learn a new syntax, the methods or classes of a specific library, etc.
    
    Just standard **Python**.
    
    For example, for an `int`:
    
    ```Python
    item_id: int
    ```
    
    or for a more complex `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...and with that single declaration you get:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/request-forms-and-files.md

    Stellen Sie sicher, dass Sie eine [virtuelle Umgebung](../virtual-environments.md){.internal-link target=_blank} erstellen, diese aktivieren und es dann installieren, z. B.:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top