Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 610 for skip1 (0.14 sec)

  1. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    这些参数就是 **FastAPI** 用来 "处理" 依赖项的。
    
    在两个例子下,都有:
    
    * 一个可选的 `q` 查询参数,是 `str` 类型。
    * 一个 `skip` 查询参数,是 `int` 类型,默认值为 `0`。
    * 一个 `limit` 查询参数,是 `int` 类型,默认值为 `100`。
    
    在两个例子下,数据都将被转换、验证、在 OpenAPI schema 上文档化,等等。
    
    ## 使用它
    
    现在,您可以使用这个类来声明你的依赖项了。
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/bin/mvn.cmd

    :arg_loop
    if "%~1" == "-f" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    if "%~1" == "--file" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    @REM If none of the above, skip the argument
    shift
    if not "%~1" == "" (
      goto arg_loop
    ) else (
      goto findBaseDir
    )
    
    :process_file_arg
    if "%FILE_ARG%" == "" (
      goto findBaseDir
    )
    if not exist "%FILE_ARG%" (
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/dependencies/index.md

    & ⚫️ ✔️ 🎏 💠 & 📊 👈 🌐 👆 *➡ 🛠️ 🔢* ✔️.
    
    👆 💪 💭 ⚫️ *➡ 🛠️ 🔢* 🍵 "👨‍🎨" (🍵 `@app.get("/some-path")`).
    
    & ⚫️ 💪 📨 🕳 👆 💚.
    
    👉 💼, 👉 🔗 ⌛:
    
    * 📦 🔢 🔢 `q` 👈 `str`.
    * 📦 🔢 🔢 `skip` 👈 `int`, & 🔢 `0`.
    * 📦 🔢 🔢 `limit` 👈 `int`, & 🔢 `100`.
    
    & ⤴️ ⚫️ 📨 `dict` ⚗ 📚 💲.
    
    ### 🗄 `Depends`
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. cmd/os-readdir_test.go

    	return testResults
    }
    
    // Test to read non-empty directory with symlinks.
    func setupTestReadDirSymlink(t *testing.T) (testResults []result) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("symlinks not available on windows")
    		return nil
    	}
    	dir := t.TempDir()
    	entries := []string{}
    	for i := 0; i < 10; i++ {
    		name1 := fmt.Sprintf("file-%d", i)
    		name2 := fmt.Sprintf("file-%d", i+10)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server.go

    	"MINIO_CI_CD":                  {},
    }
    
    func getServerSystemCfg() *ServerSystemConfig {
    	envs := env.List("MINIO_")
    	envValues := make(map[string]string, len(envs))
    	for _, envK := range envs {
    		// skip certain environment variables as part
    		// of the whitelist and could be configured
    		// differently on each nodes, update skipEnvs()
    		// map if there are such environment values
    		if _, ok := skipEnvs[envK]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    	}
    }
    
    func TestToSQL(t *testing.T) {
    	// By default DB.DryRun should false
    	if DB.DryRun {
    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    	date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local)
    
    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    	// from latestFileInfo to get the quorum
    	return dataBlocks, writeQuorum, nil
    }
    
    const (
    	tierFVID     = "tier-free-versionID"
    	tierFVMarker = "tier-free-marker"
    	tierSkipFVID = "tier-skip-fvid"
    )
    
    // SetTierFreeVersionID sets free-version's versionID. This method is used by
    // object layer to pass down a versionID to set for a free-version that may be
    // created.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. internal/http/headers.go

    	AmzBucketReplicationStatus    = "X-Amz-Replication-Status"
    
    	// AmzSnowballExtract will trigger unpacking of an archive content
    	AmzSnowballExtract = "X-Amz-Meta-Snowball-Auto-Extract"
    	// MinIOSnowballIgnoreDirs will skip creating empty directory objects.
    	MinIOSnowballIgnoreDirs = "X-Amz-Meta-Minio-Snowball-Ignore-Dirs"
    	// MinIOSnowballIgnoreErrors will ignore recoverable errors, typically single files failing to upload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. 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
        ```
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    		} else {
    			b.uint32(h.CompressedSize)
    			b.uint32(h.UncompressedSize)
    		}
    
    		b.uint16(uint16(len(h.Name)))
    		b.uint16(uint16(len(h.Extra)))
    		b.uint16(uint16(len(h.Comment)))
    		b = b[4:] // skip disk number start and internal file attr (2x uint16)
    		b.uint32(h.ExternalAttrs)
    		if h.offset > uint32max {
    			b.uint32(uint32max)
    		} else {
    			b.uint32(uint32(h.offset))
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top