Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 645 for Pythons (0.04 sec)

  1. docs/de/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Mache hier etwas Asynchrones, um die Burger zu erstellen
        return burgers
    ```
    
    ... statt mit `def`:
    
    ```Python hl_lines="2"
    # Dies ist nicht asynchron
    def get_sequential_burgers(number: int):
        # Mache hier etwas Sequentielles, um die Burger zu erstellen
        return burgers
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-form-models.md

    /// info | Informação
    
    Para utilizar formulários, instale primeiramente o <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Certifique-se de criar um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, ativá-lo, e então instalar. Por exemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. .github/workflows/smokeshow.yml

          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - uses: actions/setup-python@v6
            with:
              python-version: '3.13'
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 17:36:42 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. docs/fr/docs/alternatives.md

    > Requests est l'un des packages Python les plus téléchargés de tous les temps
    
    La façon dont vous l'utilisez est très simple. Par exemple, pour faire une requête `GET`, vous devez écrire :
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    En contrepartie l'API _des opérations de chemin_ de FastAPI pourrait ressembler à ceci :
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Los "Context Managers" son aquellos objetos de Python que puedes usar en una declaración `with`.
    
    Por ejemplo, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">puedes usar `with` para leer un archivo</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/query-params-str-validations.md

    なので:
    
    ```Python
    q: Optional[str] = Query(default=None)
    ```
    
    ...を以下と同じようにパラメータをオプションにします:
    
    ```Python
    q: Optional[str] = None
    ```
    
    しかし、これはクエリパラメータとして明示的に宣言しています。
    
    /// info | 情報
    
    FastAPIは以下の部分を気にすることを覚えておいてください:
    
    ```Python
    = None
    ```
    
    もしくは:
    
    ```Python
    = Query(default=None)
    ```
    
    そして、 `None` を利用することでクエリパラメータが必須ではないと検知します。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/pt/docs/index.md

    Você faz isso com os tipos padrão do Python moderno.
    
    Você não terá que aprender uma nova sintaxe, métodos ou classes de uma biblioteca específica etc.
    
    Apenas **Python** padrão.
    
    Por exemplo, para um `int`:
    
    ```Python
    item_id: int
    ```
    
    ou para um modelo mais complexo, `Item`:
    
    ```Python
    item: Item
    ```
    
    ...e com essa única declaração você tem:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/request-form-models.md

    /// info | Información
    
    Para usar formularios, primero instala <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Asegúrate de crear un [entorno virtual](../virtual-environments.md){.internal-link target=_blank}, activarlo, y luego instalarlo, por ejemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/encoder.md

    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    在这个例子中,它将Pydantic模型转换为`dict`,并将`datetime`转换为`str`。
    
    调用它的结果后就可以使用Python标准编码中的<a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>。
    
    这个操作不会返回一个包含JSON格式(作为字符串)数据的庞大的`str`。它将返回一个Python标准数据结构(例如`dict`),其值和子值都与JSON兼容。
    
    /// note
    
    `jsonable_encoder`实际上是FastAPI内部用来转换数据的。但是它在许多其他场景中也很有用。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top