Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 715 for skip1 (0.03 seconds)

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

    大功告成。
    
    **2 行**。
    
    它的形式和结构与所有*路径操作函数*相同。
    
    你可以把它当作没有“装饰器”(没有 `@app.get("/some-path")`)的*路径操作函数*。
    
    而且它可以返回任何你想要的内容。
    
    本例中的依赖项预期接收:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值 `100`
    
    然后它只需返回一个包含这些值的 `dict`。
    
    /// info | 信息
    
    FastAPI 在 0.95.0 版本中新增了对 `Annotated` 的支持(并开始推荐使用)。
    
    如果你的版本较旧,尝试使用 `Annotated` 会报错。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. tests/associations_test.go

    	Name                   string `gorm:"uniqueIndex:uniq_user_id_name;size:256"`
    }
    
    func TestAssociationEmptyPrimaryKey(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    		t.Skip()
    	}
    	DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    	DB.AutoMigrate(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    
    	id := uint(100)
    	user := AssociationEmptyUser{
    		ID:   id,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. cmd/admin-handlers_test.go

    		sort.Slice(got, byResourceUID{got}.Less)
    		// printEntries(exp)
    		// printEntries(got)
    		for i, e := range exp {
    			if !e.Timestamp.Equal(got[i].Timestamp) {
    				return i, false
    			}
    			// Skip checking elapsed since it's time sensitive.
    			// if e.Elapsed != got[i].Elapsed {
    			// 	return false
    			// }
    			if e.Resource != got[i].Resource {
    				return i, false
    			}
    			if e.Type != got[i].Type {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (1)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            try {
              testEqualsUsing(factory);
            } catch (FactoryMethodReturnsNullException e) {
              // If the factory returns null, we just skip it.
            }
          }
          return this;
        }
    
        /**
         * Runs serialization test on the return values of the static methods.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  5. cmd/metacache-entries.go

    	}
    	eVers, eErr := e.xlmeta()
    	oVers, oErr := other.xlmeta()
    	if eErr != nil || oErr != nil {
    		return nil, false
    	}
    
    	// check both fileInfo's have same number of versions, if not skip
    	// the `other` entry.
    	if len(eVers.versions) != len(oVers.versions) {
    		eTime := eVers.latestModtime()
    		oTime := oVers.latestModtime()
    		if !eTime.Equal(oTime) {
    			if eTime.After(oTime) {
    				return e, false
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  6. cmd/iam-store.go

    			continue
    		}
    		if tokenRevokeType != "" {
    			claims, err := getClaimsFromTokenWithSecret(ui.Credentials.SessionToken, secret)
    			if err != nil {
    				continue // skip if token is invalid
    			}
    			// skip if token type is given and does not match
    			if v, _ := claims.Lookup(tokenRevokeTypeClaim); v != tokenRevokeType {
    				continue
    			}
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  7. fastapi/param_functions.py

        from typing import Annotated
    
        from fastapi import Depends, FastAPI
    
        app = FastAPI()
    
    
        async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

        }
    
        @Test
        void testDoFilter_skipAuthentication() throws Exception {
            // Initialize filter first
            initializeFilter();
    
            // Test skip authentication mode
            when(request.getHeader("Authorization")).thenReturn(null);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. docs/changelogs/changelog_2x.md

     *  New: Update to h2-14 and hpack-9.
     *  New: OkHttp includes a user-agent by default, like `okhttp/2.1.0-RC1`.
     *  Fix: Handle response code `308 Permanent Redirect`.
     *  Fix: Don't skip the callback if a call is canceled.
     *  Fix: Permit hostnames with underscores.
     *  Fix: Permit overriding the content-type in `OkApacheClient`.
     *  Fix: Use the socket factory for direct connections.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  10. README.md

    ```java
    // Configure bean copying behavior
    CopyOptions options = new CopyOptions()
        .exclude("password", "internalId")      // Exclude specific fields
        .includeNull(false)                     // Skip null values
        .converter("dateField", new DateConverter("yyyy-MM-dd"));
    
    BeanUtil.copyBeanToBean(source, dest, options);
    ```
    
    ## 🤝 Contributing
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top