Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 794 for py (0.02 sec)

  1. docs/ja/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary><code>uvicorn main:app --reload</code>コマンドについて</summary>
    
    `uvicorn main:app`コマンドは以下の項目を参照します:
    
    - `main`: `main.py`ファイル (Python "モジュール")
    - `app`: `main.py` の`app = FastAPI()`の行で生成されたオブジェクト
    - `--reload`: コードを変更したらサーバーを再起動します。このオプションは開発環境でのみ使用します
    
    </details>
    
    ### 動作確認
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/encoder.md

    You can use `jsonable_encoder` for that.
    
    It receives an object, like a Pydantic model, and returns a JSON compatible version:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/encoder.md

    Você pode usar a função `jsonable_encoder` para resolver isso.
    
    A função recebe um objeto, como um modelo Pydantic e retorna uma versão compatível com JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs/id/docs/tutorial/static-files.md

    ## Penggunaan `StaticFiles`
    
    * Mengimpor `StaticFiles`.
    * "Mount" representatif `StaticFiles()` di jalur spesifik.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | Detail Teknis
    
    Anda dapat pula menggunakan `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 10 20:31:13 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/static-files.md

    ## Использование `StaticFiles`
    
    * Импортируйте `StaticFiles`.
    * "Примонтируйте" экземпляр `StaticFiles()` с указанием определенной директории.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | Технические детали
    
    Вы также можете использовать `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/testing-events.md

    Quando você precisa que os seus manipuladores de eventos (`startup` e `shutdown`) sejam executados em seus testes, você pode utilizar o `TestClient` usando a instrução `with`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 296 bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/middleware.md

        * Then it returns the `response` generated by the corresponding *path operation*.
    * You can then further modify the `response` before returning it.
    
    {* ../../docs_src/middleware/tutorial001.py hl[8:9,11,14] *}
    
    /// tip
    
    Keep in mind that custom proprietary headers can be added <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">using the 'X-' prefix</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/response-directly.md

    예를 들어, Pydantic 모델을 `dict`로 변환해 `JSONResponse`에 넣지 않으면 JSON 호환 유형으로 변환된 데이터 유형(예: `datetime`, `UUID` 등)이 사용되지 않습니다.
    
    이러한 경우, 데이터를 응답에 전달하기 전에 `jsonable_encoder`를 사용하여 변환할 수 있습니다:
    
    {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
    
    /// note | 기술적 세부 사항
    
    `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    **FastAPI**는 개발자의 편의를 위해 `starlette.responses`를 `fastapi.responses`로 제공합니다. 그러나 대부분의 가능한 응답은 Starlette에서 직접 제공합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. ci/official/containers/ml_build_arm64/setup.python.sh

      ln -sf /usr/include/$VERSION /usr/local/include/$VERSION
    fi
    
    # Install pip
    
    wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://bootstrap.pypa.io/get-pip.py
    /usr/bin/$VERSION get-pip.py
    /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip
    
    # For Python 3.13t, do not install twine as it does not have pre-built wheels
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 01 19:14:43 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. docs/es/docs/index.md

    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>Acerca del comando <code>fastapi dev main.py</code>...</summary>
    
    El comando `fastapi dev` lee tu archivo `main.py`, detecta la app **FastAPI** en él y arranca un servidor usando <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top