Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 905 for schema (0.22 seconds)

  1. tests/test_response_by_alias.py

                                    "description": "Successful Response",
                                    "content": {
                                        "application/json": {
                                            "schema": {"$ref": "#/components/schemas/Model"}
                                        }
                                    },
                                }
                            },
                        }
                    },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. clause/benchmarks_test.go

    import (
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func BenchmarkSelect(b *testing.B) {
    	user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    
    	for i := 0; i < b.N; i++ {
    		stmt := gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Oct 07 12:14:14 GMT 2022
    - 1.9K bytes
    - Click Count (0)
  3. docs_src/graphql_/tutorial001_py310.py

        name: str
        age: int
    
    
    @strawberry.type
    class Query:
        @strawberry.field
        def user(self) -> User:
            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQLRouter(schema)
    
    app = FastAPI()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 424 bytes
    - Click Count (0)
  4. tests/test_regex_deprecated_params.py

                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/how-to/separate-openapi-schemas.md

    <img src="/img/tutorial/separate-openapi-schemas/image03.png">
    </div>
    
    ### 文件中的輸入與輸出模型 { #model-for-input-and-output-in-docs }
    
    如果你查看 OpenAPI 中所有可用的結構描述(JSON Schema),會看到有兩個:`Item-Input` 與 `Item-Output`。
    
    對於 `Item-Input`,`description` 不是必填,沒有紅色星號。
    
    但對於 `Item-Output`,`description` 是必填,有紅色星號。
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. schema/index.go

    	Priority   int
    }
    
    // ParseIndexes parse schema indexes
    func (schema *Schema) ParseIndexes() []*Index {
    	indexesByName := map[string]*Index{}
    	indexes := []*Index{}
    
    	for _, field := range schema.Fields {
    		if field.TagSettings["INDEX"] != "" || field.TagSettings["UNIQUEINDEX"] != "" {
    			fieldIndexes, err := parseFieldIndexes(field)
    			if err != nil {
    				schema.err = err
    				break
    			}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. tests/test_openapi_schema_type.py

    from fastapi.openapi.models import Schema, SchemaType
    
    
    @pytest.mark.parametrize(
        "type_value",
        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: SchemaType | list[SchemaType] | None,
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 685 bytes
    - Click Count (0)
  8. dbflute_fess/dfprop/documentMap.dfprop

        #   o schema: The schema name. (NotRequired - Default '' e.g. no setting when MySQL)
        #   o user: The database user name. (Required)
        #   o password: The database password. (NotRequired - Default '')
        #
        #; schemaSyncCheckMap = map:{
        #    ; url = jdbc:...
        #    ; schema = EXAMPLEDB
        #    ; user = exampuser
        #    ; password = exampword
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.4K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/first-steps.md

    **FastAPI** 使用定義 API 的 **OpenAPI** 標準來生成一個「schema」,涵蓋你的全部 API。
    
    #### 「Schema」 { #schema }
    
    「schema」是對某個事物的定義或描述。它並不是實作它的程式碼,而僅僅是一個抽象的描述。
    
    #### API 「schema」 { #api-schema }
    
    在這種情況下,[OpenAPI](https://github.com/OAI/OpenAPI-Specification) 是一個規範,它規定了如何定義 API 的 schema。
    
    這個 schema 定義包含了你的 API 路徑、可能接收的參數等內容。
    
    #### 資料「schema」 { #data-schema }
    
    「schema」這個術語也可能指某些資料的結構,比如 JSON 內容的結構。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  10. tests/test_param_include_in_schema.py

                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top