Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3601 - 3610 of 4,204 for Hint (0.02 sec)

  1. docs/zh/docs/tutorial/path-operation-configuration.md

    # 路径操作配置
    
    *路径操作装饰器*支持多种配置参数。
    
    /// warning | 警告
    
    注意:以下参数应直接传递给**路径操作装饰器**,不能传递给*路径操作函数*。
    
    ///
    
    ## `status_code` 状态码
    
    `status_code` 用于定义*路径操作*响应中的 HTTP 状态码。
    
    可以直接传递 `int` 代码, 比如 `404`。
    
    如果记不住数字码的涵义,也可以用 `status` 的快捷常量:
    
    {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *}
    
    状态码在响应中使用,并会被添加到 OpenAPI 概图。
    
    /// note | 技术细节
    
    也可以使用 `from starlette import status` 导入状态码。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code add(int, Object)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            return delegate.equals(that.delegate);
          } else {
            return false;
          }
        }
    
        @Override
        public int hashCode() {
          return delegate.hashCode();
        }
    
        @Override
        public String toString() {
          return "another arbitrary string";
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

            </field>
            <field xml.attribute="true">
              <name>priority</name>
              <required>false</required>
              <version>2.0.0+</version>
              <type>int</type>
              <defaultValue>0</defaultValue>
              <description>If specified, identifies a within phase prioritization of executions.</description>
            </field>
            <field>
              <name>executions</name>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/MapIteratorCache.java

                cacheEntry = entry;
                return entry.getKey();
              }
            };
          }
    
          @Override
          public int size() {
            return backingMap.size();
          }
    
          @Override
          public boolean contains(@Nullable Object key) {
            return containsKey(key);
          }
        };
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

                            && Objects.equals(extension, that.extension)
                            && Objects.equals(type, that.type);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(groupId, artifactId, version, classifier, extension, type);
                }
    
                @Override
                public String toString() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. internal/s3select/parquet/reader.go

    		// ensure it's UTF8 encoded.
    		value = string(val)
    	case [12]byte:
    		// TODO: This is returned for the parquet INT96 type. We just
    		// treat it same as []byte (but AWS S3 treats it as a large int)
    		// - fix this later.
    		value = string(val[:])
    	case int32:
    		value = int64(val)
    		if logicalType := se.GetLogicalType(); logicalType != nil {
    			if logicalType.IsSetDATE() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                }
            }
        }
    
        private fun parallelize(
            subProjectTestClassTimes: List<SubprojectTestClassTime>,
            testCoverage: TestCoverage,
            parallelization: (Int) -> ParallelizationMethod,
        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    		{(1 << 56) - 1, 8, true},
    		{-1 << 56, 8, true},
    		{(-1 << 56) - 1, 8, false},
    		{121654, 8, true},
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 11 17:52:43 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. docs/es/docs/features.md

    # Declara una variable como un str
    # y obtiene soporte del editor dentro de la función
    def main(user_id: str):
        return user_id
    
    
    # Un modelo de Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Que luego puede ser usado como:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top