Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 806 for coda (0.13 sec)

  1. .cm/code_experts.cm

      - commit
      - comment_added
    
    automations:
    
      # Also post a comment that lists the best experts for the files that were modified.
      comment_experts:
        if:
          - {{ ('code_experts' | isEnabledAutomation(pr)) }}
        run:
          - action: explain-code-experts@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/response-status-code.md

    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * usw.
    
    ```Python hl_lines="6"
    {!../../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    !!! note "Hinweis"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:32:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/response-status-code.md

    与指定响应模型的方式相同,在以下任意*路径操作*中,可以使用 `status_code` 参数声明用于响应的 HTTP 状态码:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 等……
    
    ```Python hl_lines="6"
    {!../../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    !!! note "笔记"
    
        注意,`status_code` 是(`get`、`post` 等)**装饰器**方法中的参数。与之前的参数和请求体不同,不是*路径操作函数*的参数。
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    !!! info "说明"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:40:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/response-status-code.md

    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * など。
    
    ```Python hl_lines="6"
    {!../../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    !!! note "備考"
        `status_code`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数*のものではありません。
    
    `status_code`パラメータはHTTPステータスコードを含む数値を受け取ります。
    
    !!! info "情報"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:42:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/response-change-status-code.md

    你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md){.internal-link target=_blank}。
    
    但在某些情况下,你需要返回一个不同于默认值的状态码。
    
    ## 使用场景
    
    例如,假设你想默认返回一个HTTP状态码为“OK”`200`。
    
    但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。
    
    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    ```Python hl_lines="1  9  12"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 10 20:30:28 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

        export flags="--config=opt -k"
        ```
    
        If the tests are to be run on the GPU, add CUDA paths to LD_LIBRARY_PATH and
        add the `cuda` option flag
    
        ```bash
        export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH"
        export flags="--config=opt --config=cuda -k"
        ```
    
        For example, to run all tests under tensorflow/python, do:
    
        ```bash
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/cuda.packages.txt

    libcudnn8=8.9.6.50-1+cuda12.2
    libcudnn8-dev=8.9.6.50-1+cuda12.2
    
    # This can be removed once NVIDIA publishes a cuda-12.3.2 Docker image.
    # For now it ensures that we install at least version 12.3.107 of PTXAS,
    # since 12.3.103 has a bug.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 368 bytes
    - Viewed (1)
  8. ci/official/README.md

    -   Nightly jobs (Run nightly on the `nightly` branch)
        -   Uses `wheel.sh`, `libtensorflow.sh`, `code_check_full.sh`
    -   Continuous jobs (Run on every GitHub commit)
        -   Uses `pycpp.sh`
    -   Presubmit jobs (Run on every GitHub PR)
        -   Uses `pycpp.sh`, `code_check_changed_files.sh`
    
    These "env" files match up with an environment matrix that roughly covers:
    
    -   Different Python versions
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-operation-configuration.md

    ## Código de Status da Resposta
    
    Você pode definir o `status_code` (HTTP) para ser usado na resposta da sua *operação de rota*.
    
    Você pode passar diretamente o código `int`, como `404`.
    
    Mas se você não se lembrar o que cada código numérico significa, pode usar as constantes de atalho em `status`:
    
    === "Python 3.8 and above"
    
        ```Python hl_lines="3  17"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        --experimental_cc_shared_library \
        --@local_config_cuda//:enable_cuda \
        --define framework_shared_object=false \
        "somepath(//tensorflow/tools/pip_package:build_pip_package, " \
        "@local_config_cuda//cuda:cudart + "\
        "@local_config_cuda//cuda:cudart + "\
        "@local_config_cuda//cuda:cuda_driver + "\
        "@local_config_cuda//cuda:cudnn + "\
        "@local_config_cuda//cuda:curand + "\
        "@local_config_cuda//cuda:cusolver + "\
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top