Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3411 - 3420 of 4,205 for inst (0.04 sec)

  1. docs/zh/docs/tutorial/dependencies/index.md

    大功告成。
    
    只用了**2 行**代码。
    
    依赖项函数的形式和结构与*路径操作函数*一样。
    
    因此,可以把依赖项当作没有「装饰器」(即,没有 `@app.get("/some-path")` )的路径操作函数。
    
    依赖项可以返回各种内容。
    
    本例中的依赖项预期接收如下参数:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值是 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值是 `100`
    
    然后,依赖项函数返回包含这些值的 `dict`。
    
    ### 导入 `Depends`
    
    {* ../../docs_src/dependencies/tutorial001.py hl[3] *}
    
    ### 声明依赖项
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTransportPoolTest.java

        private Address address;
    
        @Mock
        private SmbTransport transport;
    
        @Mock
        private InetAddress localAddr;
    
        private static final int DEFAULT_PORT = 445;
        private static final String TEST_HOST = "test.server.com";
        private static final int LOCAL_PORT = 12345;
    
        @BeforeEach
        void setUp() {
            // Common setup for all tests
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(input, output);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

                    stateMap.put(v, DfsState.VISITED);
                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
                    List<String> ret = cycle.subList(pos, cycle.size());
                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/extra-data-types.md

    # 额外数据类型
    
    到目前为止,您一直在使用常见的数据类型,如:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    但是您也可以使用更复杂的数据类型。
    
    您仍然会拥有现在已经看到的相同的特性:
    
    * 很棒的编辑器支持。
    * 传入请求的数据转换。
    * 响应数据转换。
    * 数据验证。
    * 自动补全和文档。
    
    ## 其他数据类型
    
    下面是一些你可以使用的其他数据类型:
    
    * `UUID`:
        * 一种标准的 "通用唯一标识符" ,在许多数据库和系统中用作ID。
        * 在请求和响应中将以 `str` 表示。
    * `datetime.datetime`:
        * 一个 Python `datetime.datetime`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. internal/kms/errors.go

    	}
    )
    
    // Error is a KMS error that can be translated into an S3 API error.
    //
    // It does not implement the standard error Unwrap interface for
    // better error log messages.
    type Error struct {
    	Code    int    // The HTTP status code returned to the client
    	APICode string // The API error code identifying the error
    	Err     string // The error message returned to the client
    	Cause   error  // Optional, lower level error cause.
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

      }
    
      private static final class Tokenizer {
        final String input;
        int position = 0;
    
        Tokenizer(String input) {
          this.input = input;
        }
    
        @CanIgnoreReturnValue
        String consumeTokenIfPresent(CharMatcher matcher) {
          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/sql-databases.md

    `HeroPublic`은 `HeroBase`와 동일한 필드를 가지며, `secret_name`은 포함하지 않습니다.
    
    마침내 우리의 heroes의 정체가 보호됩니다! 🥷
    
    또한 `id: int`를 다시 선언합니다. 이를 통해, API 클라이언트와 **계약**을 맺어 `id`가 항상 존재하며 항상 `int` 타입이라는 것을 보장합니다(`None`이 될 수 없습니다).
    
    /// tip | 팁
    
    반환 모델이 값이 항상 존재하고 항상 `int`(`None`이 아님)를 보장하는 것은 API 클라이언트에게 매우 유용합니다. 이를 통해 API와 통신하는 개발자가 훨씬 더 간단한 코드를 작성할 수 있습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 24 16:14:29 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. cmd/iam-object-store.go

    	return deleteConfig(ctx, iamOS.objAPI, path)
    }
    
    func (iamOS *IAMObjectStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error {
    	for {
    	retry:
    		data, objInfo, err := iamOS.loadIAMConfigBytesWithMetadata(ctx, getPolicyDocPath(policy))
    		if err != nil {
    			if err == errConfigNotFound {
    				return errNoSuchPolicy
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/JobHelper.java

        /**
         * Default constructor.
         */
        public JobHelper() {
            // Default constructor
        }
    
        /** Monitor interval in seconds (default: 1 hour) */
        protected int monitorInterval = 60 * 60;// 1hour
    
        /** Thread-local storage for job runtime information */
        protected ThreadLocal<LaJobRuntime> jobRuntimeLocal = new ThreadLocal<>();
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top