Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 682 for Pythons (0.04 sec)

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

    Here we are declaring a `UserIn` model, it will contain a plaintext password:
    
    {* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *}
    
    /// info
    
    To use `EmailStr`, first install <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/response-model.md

    ```Python hl_lines="3 5"
    {
    "name": "Bar",
    "description": "The bartenders",
    "price": 62,
    "tax": 20.2
    }
    ```
    
    eles serão incluídos na resposta.
    
    #### Dados com os mesmos valores que os padrões
    
    Se os dados tiverem os mesmos valores que os padrões, como o item com ID `baz`:
    
    ```Python hl_lines="3 5-6"
    {
    "name": "Baz",
    "description": None,
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:51:05 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. ci/official/utilities/setup.sh

    # functionality instead.
    tfrun() { "$@"; }
    
    if [[ $(uname -s) = MSYS_NT* ]]; then
      source ./ci/official/utilities/windows.sh
      echo 'Converting MSYS Linux-like paths to Windows paths (for Docker, Python, etc.)'
      source <(python ./ci/official/utilities/convert_msys_paths_to_win_paths.py --whitelist-prefix TFCI_)
    fi
    
    # Run all "tfrun" commands under Docker. See setup_docker.sh for details
    if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/async-tests.md

    El `TestClient` está basado en <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, y afortunadamente, podemos usarlo directamente para probar la API.
    
    ## Ejemplo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/response-status-code.md

    ///
    
    Параметр `status_code` приймає число, яке відповідає HTTP коду статусу.
    
    /// info | Інформація
    `status_code` також може отримувати значення з `IntEnum`, наприклад, з Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Він буде:
    
    * Повертати вказаний код статусу у відповіді.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Mar 19 17:04:17 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/handling-errors.md

    ### Импортируйте `HTTPException`
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[1] *}
    
    ### Вызовите `HTTPException` в своем коде
    
    `HTTPException` - это обычное исключение Python с дополнительными данными, актуальными для API.
    
    Поскольку это исключение Python, то его не `возвращают`, а `вызывают`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. docs/em/docs/async.md

    ## 🏃 ❓
    
    <abbr title="too long; didn't read"><strong>🆑;👩‍⚕️:</strong></abbr>
    
    🚥 👆 ⚙️ 🥉 🥳 🗃 👈 💬 👆 🤙 👫 ⏮️ `await`, 💖:
    
    ```Python
    results = await some_library()
    ```
    
    ⤴️, 📣 👆 *➡ 🛠️ 🔢* ⏮️ `async def` 💖:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. docs/en/docs/reference/fastapi.md

    # `FastAPI` class
    
    Here's the reference information for the `FastAPI` class, with all its parameters, attributes and methods.
    
    You can import the `FastAPI` class directly from `fastapi`:
    
    ```python
    from fastapi import FastAPI
    ```
    
    ::: fastapi.FastAPI
        options:
            members:
                - openapi_version
                - webhooks
                - state
                - dependency_overrides
                - openapi
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 701 bytes
    - Viewed (0)
  9. docs/en/docs/reference/background.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import BackgroundTasks
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 377 bytes
    - Viewed (0)
  10. docs/en/mkdocs.yml

          advanced/extending-openapi.md: how-to/extending-openapi.md
          advanced/testing-database.md: how-to/testing-database.md
      mkdocstrings:
        handlers:
          python:
            options:
              extensions:
              - griffe_typingdoc
              show_root_heading: true
              show_if_no_docstring: true
              preload_modules:
              - httpx
              - starlette
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top