Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for chang (0.16 sec)

  1. docs/zh/docs/advanced/response-change-status-code.md

    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    ```Python hl_lines="1  9  12"
    {!../../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI**将使用这个临时响应来提取状态码(也包括cookies和头部),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
    
    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)
  2. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # > target platform.
    # See also https://docs.bazel.build/versions/master/guide.html#build-configurations-and-cross-compilation
    build --distinct_host_configuration=false
    
    # Disable clang extension that rejects type definitions within offsetof. 
    # This was added in clang-16 by https://reviews.llvm.org/D133574.
    # Can be removed once upb is updated, since a type definition is used within
    # offset of in the current version of ubp.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  3. docs/orchestration/docker-compose/README.md

    * There are 4 minio distributed instances created by default. You can add more MinIO services (up to total 16) to your MinIO Compose deployment. To add a service
      * Replicate a service definition and change the name of the new service appropriately.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 19:20:56 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. okhttp-sse/README.md

    OkHttp Server-Sent Events
    =========================
    
    Experimental support for server-sent events.
    API is not considered stable and may change at any time.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-sse:4.12.0")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 245 bytes
    - Viewed (0)
  5. manifests/helm-profiles/warning-edit.txt

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 218 bytes
    - Viewed (0)
  6. .github/pull_request_template.md

    Following this checklist to help us incorporate your
    contribution quickly and easily:
    
     - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/MNG) filed
           for the change (usually before you start working on it).  Trivial changes like typos do not
           require a JIRA issue. Your pull request should address just this issue, without
           pulling in other changes.
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Dec 20 13:14:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  7. ci/official/README.md

    2. Running the CI scripts locally, as explained below
    3. **Google employees only**: Google employees can use an internal-only tool
    called "MLCI" that makes testing more convenient: it can execute any full CI job
    against a pending change. Search for "MLCI" internally to find it.
    
    You may invoke a CI script of your choice by following these instructions:
    
    ```bash
    cd tensorflow-git-dir
    
    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)
  8. architecture/build-state-model.md

    When that directory changes between Gradle invocations, the state is discarded and recreated.
    Typically, the Gradle user home directory does not change for a given process, so this is effectively process state.
    
    The build process state is managed by the `BuildProcessState` class. An instance is created once for a given process.
    
    ### Build session state
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun May 05 22:45:11 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. .teamcity/README.md

    There are 3 subprojects in the TeamCity project hierarchy: `Check` for Gradle builds, `Promotion` for releasing Gradle versions, `Util` for miscellaneous utilities.
    
    ## Develop and verify
    
    After you make a change, you can run `mvn clean teamcity-configs:generate` to generate and verify the generated TeamCity configuration XMLs.
    
    You also need to run `mvn clean verify` with Java 8 before committing changes.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
     * WARNING: Every val in here must not change for they same daemon. If it does, changes will go undetected,
     *          since this whole object is kept in the classloader between builds.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
Back to top