Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 666 for skip (0.29 sec)

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

    そして、それはすべての*path operation関数*が持っているのと同じ形と構造を持っています。
    
    「デコレータ」を含まない(`@app.get("/some-path")`を含まない)*path operation関数*と考えることもできます。
    
    そして何でも返すことができます。
    
    この場合、この依存関係は以下を期待しています:
    
    * オプショナルのクエリパラメータ`q`は`str`です。
    * オプショナルのクエリパラメータ`skip`は`int`で、デフォルトは`0`です。
    * オプショナルのクエリパラメータ`limit`は`int`で、デフォルトは`100`です。
    
    そして、これらの値を含む`dict`を返します。
    
    ### `Depends`のインポート
    
    ```Python hl_lines="3"
    {!../../docs_src/dependencies/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/index.md

    И она может возвращать всё, что требуется.
    
    В этом случае, эта зависимость ожидает:
    
    * Необязательный query-параметр `q` с типом `str`
    * Необязательный query-параметр `skip` с типом `int`, и значением по умолчанию `0`
    * Необязательный query-параметр `limit` с типом `int`, и значением по умолчанию `100`
    
    И в конце она возвращает `dict`, содержащий эти значения.
    
    /// info | "Информация"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    이 매개변수들은 **FastAPI**가 의존성을 "해결"하기 위해 사용할 것입니다
    
    함수와 클래스 두 가지 방식 모두, 아래 요소를 갖습니다:
    
    * `문자열`이면서 선택사항인 쿼리 매개변수 `q`.
    * 기본값이 `0`이면서 `정수형`인 쿼리 매개변수 `skip`
    * 기본값이 `100`이면서 `정수형`인 쿼리 매개변수 `limit`
    
    두 가지 방식 모두, 데이터는 변환, 검증되고 OpenAPI 스키마에 문서화됩니다.
    
    ## 사용해봅시다!
    
    이제 아래의 클래스를 이용해서 의존성을 정의할 수 있습니다.
    
    //// tab | 파이썬 3.6 이상
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin.go

    		if conf.PrevResult != nil {
    			prevResult := conf.PrevResult.(*cniv1.Result)
    			prevResIps = prevResult.IPs
    		}
    
    		// Only send event if this pod "would be" an ambient-watched pod - otherwise skip
    		if podIsAmbient {
    			cniEventAddr := filepath.Join(conf.CNIAgentRunDir, constants.CNIEventSocketName)
    			cniClient := newCNIClient(cniEventAddr, constants.CNIAddEventPath)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. cmd/perf-tests.go

    	connectionsPerPeer := 3 + (29+len(clusterInfos.Sites)-1)/len(clusterInfos.Sites)
    
    	errStr := ""
    	var wg sync.WaitGroup
    
    	for _, info := range clusterInfos.Sites {
    		// skip self
    		if globalDeploymentID() == info.DeploymentID {
    			continue
    		}
    		info := info
    		wg.Add(connectionsPerPeer)
    		for i := 0; i < connectionsPerPeer; i++ {
    			go func() {
    				defer wg.Done()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/debugging/inspect/export.go

    		var key, val []byte
    		key, buf, e = msgp.ReadMapKeyZC(buf)
    		if e != nil {
    			return nil, e
    		}
    		if len(key) == 0 {
    			return nil, fmt.Errorf("xlMetaInlineData: key %d is length 0", i)
    		}
    		// Skip data...
    		val, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return nil, e
    		}
    		if i > 0 {
    			res = append(res, ',')
    		}
    		s := fmt.Sprintf(`"%s":%d`, string(key), len(val))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/handling-errors.md

    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError` vs `ValidationError`
    
    /// warning
    
    These are technical details that you might skip if it's not important for you now.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    					buckets = append(buckets, object.Bucket)
    					names = append(names, object.Name)
    				}
    			}
    		}
    
    		// If there are no SSE-S3 single-part objects
    		// we can skip the decryption process. However,
    		// we still have to adjust the size and ETag
    		// of SSE-C and SSE-KMS objects.
    		if len(SSES3SinglePartObjects) == 0 {
    			for i := range batch {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "Finished":
    			z.Finished, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Finished")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *healingTracker) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. cmd/bucket-metadata_gen.go

    			z.BucketTargetsConfigMetaUpdatedAt, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "BucketTargetsConfigMetaUpdatedAt")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *BucketMetadata) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top