Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 592 for yields (0.03 seconds)

  1. docs/de/docs/tutorial/request-form-models.md

    Sie können dies in der Dokumentations-UI unter `/docs` testen:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Zusätzliche Formularfelder verbieten { #forbid-extra-form-fields }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. docs_src/query_param_models/tutorial001_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 443 bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                        public String @Nullable [] foo() { return new String[] {"some", null}; }
                    }
                """
            ) {
                assertHasErrors(
                    "Field nonFinalField: Nullability breaking change.",
                    "Field finalField: From non-nullable to nullable breaking change.",
                    "Method com.example.Source.foo(): From non-null returning to null returning breaking change."
                )
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/body-nested-models.md

    ## Campos do tipo Lista { #list-fields }
    
    Você pode definir um atributo como um subtipo. Por exemplo, uma `list` do Python:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Isso fará com que tags seja uma lista de itens mesmo sem declarar o tipo dos elementos desta lista.
    
    ## Campos do tipo Lista com um parâmetro de tipo { #list-fields-with-type-parameter }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. fastapi/dependencies/models.py

    @dataclass
    class Dependant:
        path_params: list[ModelField] = field(default_factory=list)
        query_params: list[ModelField] = field(default_factory=list)
        header_params: list[ModelField] = field(default_factory=list)
        cookie_params: list[ModelField] = field(default_factory=list)
        body_params: list[ModelField] = field(default_factory=list)
        dependencies: list["Dependant"] = field(default_factory=list)
        name: Optional[str] = None
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. cmd/metacache-walk_gen.go

    func (z *WalkDirOptions) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Bucket":
    			z.Bucket, err = dc.ReadString()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. tensorflow/c/c_api_macros_internal.h

                                    "` structure with `struct_size` field "   \
                                    "set to " #SIZE_VALUE_NAME                \
                                    ". Found `struct_size` = 0.");            \
        }                                                                     \
      } while (0)
    
    // Macro to verify that the field NAME of STRUCT_OBJ is not null.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body_multiple_params/test_tutorial002.py

                        "body",
                        "item",
                    ],
                    "msg": "Field required",
                    "type": "missing",
                },
                {
                    "input": None,
                    "loc": [
                        "body",
                        "user",
                    ],
                    "msg": "Field required",
                    "type": "missing",
                },
            ],
        }
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. docs_src/body_fields/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 563 bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtensions.java

        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * Field extensions.
         */
        private List<CoreExtension> extensions;
    
        /**
         * Field modelEncoding.
         */
        private String modelEncoding = "UTF-8";
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top