- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 777 for field (0.02 seconds)
-
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) -
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] = NoneCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 7.1K bytes - Click Count (0) -
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) -
tensorflow/c/c_api_macros_internal.h
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) -
docs_src/dependencies/tutorial014_an_py310.py
from sqlmodel import Field, Session, SQLModel, create_engine engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db") class User(SQLModel, table=True): id: int | None = Field(default=None, primary_key=True) name: str app = FastAPI() def get_session(): with Session(engine) as session: yield session
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 957 bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial002.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 11K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial007.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 10.8K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 9.3K bytes - Click Count (0) -
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) -
docs/en/docs/how-to/separate-openapi-schemas.md
{* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} ...then the `description` field will **not be required**. Because it has a default value of `None`. ### Input Model in Docs { #input-model-in-docs } You can confirm that in the docs, the `description` field doesn't have a **red asterisk**, it's not marked as required: <div class="screenshot">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.5K bytes - Click Count (0)