Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 895 for python (0.09 sec)

  1. docs/ko/docs/tutorial/response-status-code.md

    ///
    
    ## 이름을 기억하는 쉬운 방법
    
    상기 예시 참고:
    
    ```Python hl_lines="6"
    {!../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    `201` 은 "생성됨"를 의미하는 상태 코드입니다.
    
    하지만 모든 상태 코드들이 무엇을 의미하는지 외울 필요는 없습니다.
    
    `fastapi.status` 의 편의 변수를 사용할 수 있습니다.
    
    ```Python hl_lines="1  6"
    {!../../docs_src/response_status_code/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. docs/ja/docs/contributing.md

    ## 開発
    
    すでにリポジトリをクローンし、コードを詳しく調べる必要があるとわかっている場合に、環境構築のためのガイドラインをいくつか紹介します。
    
    ### `venv`を使用した仮想環境
    
    Pythonの`venv`モジュールを使用して、ディレクトリに仮想環境を作成します:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    これにより、Pythonバイナリを含む`./env/`ディレクトリが作成され、その隔離された環境にパッケージのインストールが可能になります。
    
    ### 仮想環境の有効化
    
    新しい環境を有効化するには:
    
    //// tab | Linux, macOS
    
    <div class="termy">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. tensorflow/BUILD

    load(
        "//tensorflow/python/tools/api/generator:api_gen.bzl",
        "get_compat_files",
        "get_nested_compat_files",
    )
    load(
        "//tensorflow/python/tools/api/generator:api_init_files.bzl",
        "TENSORFLOW_API_INIT_FILES",
    )
    load(
        "//tensorflow/python/tools/api/generator:api_init_files_v1.bzl",
        "TENSORFLOW_API_INIT_FILES_V1",
    )
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/testing-websockets.md

    # Testando WebSockets
    
    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "Nota"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 488 bytes
    - Viewed (0)
  5. ci/official/containers/ml_build/README.md

    WIP ML Build Docker container for ML repositories (Tensorflow, JAX and XLA).
    
    This container branches off from
    /tensorflow/tools/tf_sig_build_dockerfiles/. However, since
    hermetic CUDA and hermetic Python is now available for Tensorflow, a lot of the
    requirements installed on the original container can be removed to reduce the
    footprint of the container and make it more reusable across different ML
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 416 bytes
    - Viewed (0)
  6. docs/en/docs/advanced/sub-applications.md

    ```Python hl_lines="3  6-8"
    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### Sub-application
    
    Then, create your sub-application, and its *path operations*.
    
    This sub-application is just another standard FastAPI application, but this is the one that will be "mounted":
    
    ```Python hl_lines="11  14-16"
    {!../../docs_src/sub_applications/tutorial001.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. requirements-docs.txt

    pyyaml >=5.3.1,<7.0.0
    # For Material for MkDocs, Chinese search
    jieba==0.42.1
    # For image processing by Material for MkDocs
    pillow==11.0.0
    # For image processing by Material for MkDocs
    cairosvg==2.7.1
    mkdocstrings[python]==0.26.1
    griffe-typingdoc==0.2.7
    # For griffe, it formats with black
    black==24.3.0
    mkdocs-macros-plugin==1.0.5
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:17:22 UTC 2024
    - 499 bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/response-cookies.md

    # 응답 쿠키
    
    ## `Response` 매개변수 사용하기
    
    *경로 작동 함수*에서 `Response` 타입의 매개변수를 선언할 수 있습니다.
    
    그런 다음 해당 *임시* 응답 객체에서 쿠키를 설정할 수 있습니다.
    
    ```Python hl_lines="1  8-9"
    {!../../docs_src/response_cookies/tutorial002.py!}
    ```
    
    그런 다음 필요한 객체(`dict`, 데이터베이스 모델 등)를 반환할 수 있습니다.
    
    그리고 `response_model`을 선언했다면 반환한 객체를 거르고 변환하는 데 여전히 사용됩니다.
    
    **FastAPI**는 그 *임시* 응답에서 쿠키(또한 헤더 및 상태 코드)를 추출하고, 반환된 값이 포함된 최종 응답에 이를 넣습니다. 이 값은 `response_model`로 걸러지게 됩니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:32:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    ln -s ../tensorflow $1/tensorflow
    # extglob is necessary for @(a|b) pattern matching
    # see "extglob" in the bash manual page ($ man bash)
    bash -O extglob -c "/$1/bin/pip install $2"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/background-tasks.md

    ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。
    
    また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。
    
    ```Python hl_lines="6-9"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## バックグラウンドタスクの追加
    
    *path operations 関数* 内で、`.add_task()` メソッドを使用してタスク関数を *background tasks* オブジェクトに渡します。
    
    ```Python hl_lines="14"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` は以下の引数を受け取ります:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top