Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 729 for BOOL (0.12 sec)

  1. schema/relationship.go

    type Polymorphic struct {
    	PolymorphicID   *Field
    	PolymorphicType *Field
    	Value           string
    }
    
    type Reference struct {
    	PrimaryKey    *Field
    	PrimaryValue  string
    	ForeignKey    *Field
    	OwnPrimaryKey bool
    }
    
    func (schema *Schema) parseRelation(field *Field) *Relationship {
    	var (
    		err        error
    		fieldValue = reflect.New(field.IndirectFieldType).Interface()
    		relation   = &Relationship{
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 16 04:11:05 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  2. docs/ja/docs/tutorial/extra-data-types.md

    # 追加データ型
    
    今までは、以下のような一般的なデータ型を使用してきました:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    しかし、より複雑なデータ型を使用することもできます。
    
    そして、今まで見てきたのと同じ機能を持つことになります:
    
    * 素晴らしいエディタのサポート
    * 受信したリクエストからのデータ変換
    * レスポンスデータのデータ変換
    * データの検証
    * 自動注釈と文書化
    
    ## 他のデータ型
    
    ここでは、使用できる追加のデータ型のいくつかを紹介します:
    
    * `UUID`:
        * 多くのデータベースやシステムで共通のIDとして使用される、標準的な「ユニバーサルにユニークな識別子」です。
        * リクエストとレスポンスでは`str`として表現されます。
    * `datetime.datetime`:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. cmd/handler-utils_test.go

    	}
    }
    
    // Tests validate metadata extraction from http headers.
    func TestExtractMetadataHeaders(t *testing.T) {
    	testCases := []struct {
    		header     http.Header
    		metadata   map[string]string
    		shouldFail bool
    	}{
    		// Validate if there a known 'content-type'.
    		{
    			header: http.Header{
    				"Content-Type": []string{"image/png"},
    			},
    			metadata: map[string]string{
    				"content-type": "image/png",
    			},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsRelatedQueryCQ.java

        }
    
        public void bool(BoolCall<RelatedQueryCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<RelatedQueryCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            RelatedQueryCQ mustQuery = new RelatedQueryCQ();
            RelatedQueryCQ shouldQuery = new RelatedQueryCQ();
            RelatedQueryCQ mustNotQuery = new RelatedQueryCQ();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 57.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsRoleTypeCQ.java

        }
    
        public void bool(BoolCall<RoleTypeCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<RoleTypeCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            RoleTypeCQ mustQuery = new RoleTypeCQ();
            RoleTypeCQ shouldQuery = new RoleTypeCQ();
            RoleTypeCQ mustNotQuery = new RoleTypeCQ();
            RoleTypeCQ filterQuery = new RoleTypeCQ();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  6. docs/tr/docs/python-types.md

    # Python Veri Tiplerine Giriş
    
    Python isteğe bağlı olarak "tip belirteçlerini" destekler.
    
     **"Tip belirteçleri"** bir değişkenin <abbr title="örneğin: str, int, float, bool">tipinin</abbr> belirtilmesine olanak sağlayan özel bir sözdizimidir.
    
    Değişkenlerin tiplerini belirterek editör ve araçlardan daha fazla destek alabilirsiniz.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. internal/config/dns/etcd_dns.go

    	}
    	return srvRecords, nil
    }
    
    // Retrieves list of entries under the key passed.
    // Note that this method fetches entries upto only two levels deep.
    func (c *CoreDNS) list(key string, domain bool) ([]SrvRecord, error) {
    	ctx, cancel := context.WithTimeout(context.Background(), defaultContextTimeout)
    	r, err := c.etcdClient.Get(ctx, key, clientv3.WithPrefix())
    	defer cancel()
    	if err != nil {
    		return nil, err
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux_test.go

    // Check if two `mountInfo` are equal.
    func mountPointsEqual(a, b mountInfo) bool {
    	if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq {
    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    	for i := range a {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. cmd/warm-backend-s3.go

    	if rv != "" {
    		ropts.VersionID = string(rv)
    	}
    	err := s3.client.RemoveObject(ctx, s3.Bucket, s3.getDest(object), ropts)
    	return s3.ToObjectError(err, object)
    }
    
    func (s3 *warmBackendS3) InUse(ctx context.Context) (bool, error) {
    	result, err := s3.core.ListObjectsV2(s3.Bucket, s3.Prefix, "", "", slashSeparator, 1)
    	if err != nil {
    		return false, s3.ToObjectError(err)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jun 08 16:13:30 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. docs/zh/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top