Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 678 for Pythons (0.05 sec)

  1. docs/ru/docs/tutorial/bigger-applications.md

    Теперь мы воспользуемся простой зависимостью, чтобы прочитать кастомизированный `X-Token` из заголовка:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3  6-8" title="app/dependencies.py"
    {!> ../../docs_src/bigger_applications/app_an_py39/dependencies.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  5-7" title="app/dependencies.py"
    {!> ../../docs_src/bigger_applications/app_an/dependencies.py!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. docs/ru/docs/alternatives.md

    > Requests - один из самых загружаемых пакетов Python всех времен
    
    
    Использовать его очень просто. Например, чтобы выполнить запрос `GET`, Вы бы написали:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Противоположная *операция пути* в FastAPI может выглядеть следующим образом:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  3. .github/workflows/build-docs.yml

          - changes
        runs-on: ubuntu-latest
        outputs:
          langs: ${{ steps.show-langs.outputs.langs }}
        steps:
          - uses: actions/checkout@v5
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v6
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    Ключевым фактором является то, что зависимость должна быть "вызываемой".
    
    В Python "**вызываемый**" - это все, что Python может "вызвать", как функцию.
    
    Так, если у вас есть объект `something` (который может _не_ быть функцией) и вы можете "вызвать" его (выполнить) как:
    
    ```Python
    something()
    ```
    
    или
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/body-nested-models.md

    * Si estás en una versión de Python inferior a 3.9, importa su versión equivalente del módulo `typing`
    * Pasa el/los tipo(s) interno(s) como "parámetros de tipo" usando corchetes: `[` y `]`
    
    En Python 3.9 sería:
    
    ```Python
    my_list: list[str]
    ```
    
    En versiones de Python anteriores a 3.9, sería:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. docs/es/docs/environment-variables.md

    ```
    
    </div>
    
    ////
    
    ## Leer Variables de Entorno en Python
    
    También podrías crear variables de entorno **fuera** de Python, en la terminal (o con cualquier otro método), y luego **leerlas en Python**.
    
    Por ejemplo, podrías tener un archivo `main.py` con:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    El factor clave es que una dependencia debe ser un "callable".
    
    Un "**callable**" en Python es cualquier cosa que Python pueda "llamar" como una función.
    
    Entonces, si tienes un objeto `something` (que podría _no_ ser una función) y puedes "llamarlo" (ejecutarlo) como:
    
    ```Python
    something()
    ```
    
    o
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    entonces es un "callable".
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-data-types.md

    * `datetime.datetime`:
        * A Python `datetime.datetime`.
        * In requests and responses will be represented as a `str` in ISO 8601 format, like: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * Python `datetime.date`.
        * In requests and responses will be represented as a `str` in ISO 8601 format, like: `2008-09-15`.
    * `datetime.time`:
        * A Python `datetime.time`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/extra-data-types.md

    * `datetime.datetime`:
        * Un `datetime.datetime` de Python.
        * En requests y responses se representará como un `str` en formato ISO 8601, como: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * `datetime.date` de Python.
        * En requests y responses se representará como un `str` en formato ISO 8601, como: `2008-09-15`.
    * `datetime.time`:
        * Un `datetime.time` de Python.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ✋️ 🚫 🤙 🕐❔ ➕1️⃣ 📁 🗄 ⚫️, 💖:
    
    ```Python
    from myapp import app
    ```
    
    #### 🌅 ℹ
    
    ➡️ 💬 👆 📁 🌟 `myapp.py`.
    
    🚥 👆 🏃 ⚫️ ⏮️:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ⤴️ 🔗 🔢 `__name__` 👆 📁, ✍ 🔁 🐍, 🔜 ✔️ 💲 🎻 `"__main__"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top