Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 191 for 17 (0.26 sec)

  1. Jenkinsfile.s390x

     */
    
    properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: env.BRANCH_NAME=='master'?'5':'1'))])
    
    def buildOs = 'linux'
    def buildJdk = '17'
    def buildMvn = '3.8.x'
    def runITsOses = ['linux']
    def runITsJdks = ['17']
    def runITsMvn = '3.8.x'
    def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true
    def tests
    
    try {
    
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/dataclasses.md

    # 使用数据类
    
    FastAPI 基于 **Pydantic** 构建,前文已经介绍过如何使用 Pydantic 模型声明请求与响应。
    
    但 FastAPI 还可以使用数据类(<a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a>):
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:44:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/separate-openapi-schemas.md

        ```
    
        </details>
    
    === "Python 3.9+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py[ln:1-17]!}
    
        # Code unterhalb weggelassen 👇
        ```
    
        <details>
        <summary>👀 Vollständige Dateivorschau</summary>
    
        ```Python
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:18:03 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/response-headers.md

    # 响应头
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies做的那样)。
    
    然后你可以在这个*临时*响应对象中设置头部。
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/response_headers/tutorial002.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI**将使用这个临时响应来提取头部(也包括cookies和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
    
    你也可以在依赖项中声明`Response`参数,并在其中设置头部(和cookies)。
    
    ## 直接返回 `Response`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-data-types.md

        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  3  13-17"
        {!> ../../../docs_src/extra_data_types/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/path-operation-advanced-configuration.md

    === "Pydantic v2"
    
        ```Python hl_lines="17-22  24"
        {!> ../../../docs_src/path_operation_advanced_configuration/tutorial007.py!}
        ```
    
    === "Pydantic v1"
    
        ```Python hl_lines="17-22  24"
        {!> ../../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            // 13
            "event: ".encodeUtf8(),
            // 14
            "event:".encodeUtf8(),
            // 15
            "event\r\n".encodeUtf8(),
            // 16
            "event\r".encodeUtf8(),
            // 17
            "event\n".encodeUtf8(),
            // 18
            "retry: ".encodeUtf8(),
            // 19
            "retry:".encodeUtf8(),
          )
    
        private val CRLF = "\r\n".encodeUtf8()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. internal/grid/msg_string.go

    	_ = x[OpMuxClientMsg-9]
    	_ = x[OpMuxServerMsg-10]
    	_ = x[OpUnblockSrvMux-11]
    	_ = x[OpUnblockClMux-12]
    	_ = x[OpAckMux-13]
    	_ = x[OpRequest-14]
    	_ = x[OpResponse-15]
    	_ = x[OpDisconnect-16]
    	_ = x[OpMerged-17]
    }
    
    const _Op_name = "ConnectConnectResponsePingPongConnectMuxMuxConnectErrorDisconnectClientMuxDisconnectServerMuxMuxClientMsgMuxServerMsgUnblockSrvMuxUnblockClMuxAckMuxRequestResponseDisconnectMerged"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils_test.go

    		t.Fatal(err)
    	}
    	defer removeRoots(disks)
    	z := objLayer.(*erasureServerPools)
    	testShuffleDisks(t, z)
    }
    
    func Test_hashOrder(t *testing.T) {
    	for x := 1; x < 17; x++ {
    		t.Run(fmt.Sprintf("%d", x), func(t *testing.T) {
    			var first [17]int
    			rng := rand.New(rand.NewSource(0))
    			var tmp [16]byte
    			rng.Read(tmp[:])
    			prefix := hex.EncodeToString(tmp[:])
    			for i := 0; i < 10000; i++ {
    				rng.Read(tmp[:])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    === "Python 3.9+"
    
        ```Python hl_lines="18-19  26-27"
        {!> ../../../docs_src/dependencies/tutorial008_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="17-18  25-26"
        {!> ../../../docs_src/dependencies/tutorial008_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top