Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 681 for Python3 (0.09 sec)

  1. 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)
  2. docs/ko/docs/environment-variables.md

    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. docs/ja/docs/index.md

    ### まとめ
    
    要約すると、関数のパラメータとして、パラメータやボディ などの型を**一度だけ**宣言します。
    
    標準的な最新の Python の型を使っています。
    
    新しい構文や特定のライブラリのメソッドやクラスなどを覚える必要はありません。
    
    単なる標準的な**3.8 以降の Python**です。
    
    例えば、`int`の場合:
    
    ```Python
    item_id: int
    ```
    
    または、より複雑な`Item`モデルの場合:
    
    ```Python
    item: Item
    ```
    
    ...そして、この一度の宣言で、以下のようになります:
    
    - 以下を含むエディタサポート:
      - 補完
      - タイプチェック
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K 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/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)
  6. 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)
  7. 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)
  8. 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)
  9. .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)
  10. 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)
Back to top