Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 681 for Python (0.04 sec)

  1. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    //// tab | python 3.9+
    
    ```python hl_lines="18-19  26-27"
    {!> ../../docs_src/dependencies/tutorial008_an_py39.py!}
    ```
    
    ////
    
    //// tab | python 3.8+
    
    ```python hl_lines="17-18  25-26"
    {!> ../../docs_src/dependencies/tutorial008_an.py!}
    ```
    
    ////
    
    //// tab | python 3.8+ non-annotated
    
    /// tip | Dica
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. 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)
  3. docs/en/docs/tutorial/request-files.md

    /// info
    
    To receive uploaded files, 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
    ```
    
    This is because uploaded files are sent as "form data".
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request-files.md

    Para receber arquivos enviados, primeiro instale o <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Garanta que você criou um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, o ativou e então o instalou, por exemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. 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)
  6. docs/pt/docs/tutorial/testing.md

    Ambas as *operações de rotas* requerem um cabeçalho `X-Token`.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py39/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an/main.py!}
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. docs/az/docs/index.md

    Bunu standart müasir Python tipləri ilə edirsiniz.
    
    Yeni sintaksis, müəyyən bir kitabxananın metodlarını və ya siniflərini və s. öyrənmək məcburiyyətində deyilsiniz.
    
    Sadəcə standart **Python**.
    
    Məsələn, `int` üçün:
    
    ```Python
    item_id: int
    ```
    
    və ya daha mürəkkəb `Item` modeli üçün:
    
    ```Python
    item: Item
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top