Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,091 for schema (0.22 sec)

  1. manifests/charts/gateway/values.schema.json

    {
      "$schema": "http://json-schema.org/schema#",
      "type": "object",
      "additionalProperties": false,
      "$defs": {
        "values": {
          "type": "object",
          "properties": {
            "global": {
              "type": "object"
            },
            "affinity": {
              "type": "object"
            },
            "securityContext": {
              "type": [
                "object",
                "null"
              ]
            },
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. schema/schema.go

    	cacheStore                *sync.Map
    }
    
    func (schema Schema) String() string {
    	if schema.ModelType.Name() == "" {
    		return fmt.Sprintf("%s(%s)", schema.Name, schema.Table)
    	}
    	return fmt.Sprintf("%s.%s", schema.ModelType.PkgPath(), schema.ModelType.Name())
    }
    
    func (schema Schema) MakeSlice() reflect.Value {
    	slice := reflect.MakeSlice(reflect.SliceOf(reflect.PtrTo(schema.ModelType)), 0, 20)
    	results := reflect.New(slice.Type())
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  3. schema/schema_test.go

    	if err != nil {
    		t.Fatalf("failed to parse pointer user, got error %v", err)
    	}
    
    	checkUserSchema(t, user)
    }
    
    func checkUserSchema(t *testing.T, user *schema.Schema) {
    	// check schema
    	checkSchema(t, user, schema.Schema{Name: "User", Table: "users"}, []string{"ID"})
    
    	// check fields
    	fields := []schema.Field{
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. schema/schema_helper_test.go

    			if r.Name != relation.Name {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Name, relation.Name)
    			}
    
    			if r.Type != relation.Type {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Type, relation.Type)
    			}
    
    			if r.Schema.Name != relation.Schema {
    				t.Errorf("schema %v relation's schema expects %v, but got %v", s, relation.Schema, r.Schema.Name)
    			}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/schema-extra-example.md

    === "Pydantic v1"
    
        Pydantic v1에서 <a href="https://docs.pydantic.dev/1.10/usage/schema/#schema-customization" class="external-link" target="_blank">Pydantic 공식 문서: Schema customization</a>에서 설명하는 것처럼, 내부 클래스인 `Config`와 `schema_extra`를 사용할 것입니다.
    
        `schema_extra`를 생성된 JSON 스키마에서 보여주고 싶은 별도의 데이터와 `examples`를 포함하는 `dict`으로 설정할 수 있습니다.
    
    !!! tip "팁"
        JSON 스키마를 확장하고 여러분의 별도의 자체 데이터를 추가하기 위해 같은 기술을 사용할 수 있습니다.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. dbflute_fess/playsql/replace-schema.sql

    jflute <******@****.***> 1437804256 +0900
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sat Jul 25 06:04:16 GMT 2015
    - 449 bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/schema-extra-example.md

    Вот несколько способов, как это можно сделать.
    
    ## Pydantic `schema_extra`
    
    Вы можете объявить ключ `example` для модели Pydantic, используя класс `Config` и переменную `schema_extra`, как описано в <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Pydantic документации: Настройка схемы</a>:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/schema-extra-example.md

    # スキーマの追加 - 例
    
    JSON Schemaに追加する情報を定義することができます。
    
    一般的なユースケースはこのドキュメントで示されているように`example`を追加することです。
    
    JSON Schemaの追加情報を宣言する方法はいくつかあります。
    
    ## Pydanticの`schema_extra`
    
    <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Pydanticのドキュメント: スキーマのカスタマイズ</a>で説明されているように、`Config`と`schema_extra`を使ってPydanticモデルの例を宣言することができます:
    
    ```Python hl_lines="15 16 17 18 19 20 21 22 23"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/schema-extra-example.md

    Aqui estão várias formas de se fazer isso.
    
    ## `schema_extra` do Pydantic
    
    Você pode declarar um `example` para um modelo Pydantic usando `Config` e `schema_extra`, conforme descrito em <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Documentação do Pydantic: Schema customization</a>:
    
    ```Python hl_lines="15-23"
    {!../../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/schema-extra-example.md

        Sie können `json_schema_extra` setzen, mit einem `dict`, das alle zusätzlichen Daten enthält, die im generierten JSON-Schema angezeigt werden sollen, einschließlich `examples`.
    
    === "Pydantic v1"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top