- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 861 for Fields (0.05 seconds)
-
tests/test_compat.py
from pydantic import BaseModel, ConfigDict from pydantic.fields import FieldInfo from .utils import needs_py310 def test_model_field_default_required(): from fastapi._compat import v2 # For coverage field_info = FieldInfo(annotation=str) field = v2.ModelField(name="foo", field_info=field_info) assert field.default is Undefined def test_complex(): app = FastAPI()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
thrownAtomicReferenceFieldUpdaterFailure); } } // TODO(lukes): Investigate using a @Contended annotation on these fields once one is available. /* * The following fields are package-private, even though we intend never to use them outside this * file. If they were instead private, then we wouldn't be able to access them reflectively fromCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data. And the spec says that the fields have to be named like that. So `user-name` or `email` wouldn't work. But don't worry, you can show it as you wish to your final users in the frontend.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/schema-extra-example.md
Você pode ler mais no final desta página. /// ## Argumentos adicionais de `Field` { #field-additional-arguments } Ao usar `Field()` com modelos Pydantic, você também pode declarar `examples` adicionais: {* ../../docs_src/schema_extra_example/tutorial002_py310.py hl[2,8:11] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/es/docs/tutorial/schema-extra-example.md
Puedes leer más al final de esta página. /// ## Argumentos adicionales en `Field` { #field-additional-arguments } Cuando usas `Field()` con modelos de Pydantic, también puedes declarar `examples` adicionales: {* ../../docs_src/schema_extra_example/tutorial002_py310.py hl[2,8:11] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.3K bytes - Click Count (0) -
src/cmd/addr2line/addr2line_test.go
if err != nil { t.Fatalf("%v: %v\n%s", cmd, err, string(out)) } syms := make(map[string]string) scanner := bufio.NewScanner(bytes.NewReader(out)) for scanner.Scan() { f := strings.Fields(scanner.Text()) if len(f) < 3 { continue } syms[f[2]] = f[0] } if err := scanner.Err(); err != nil { t.Fatalf("error reading symbols: %v", err) } return syms }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 06 13:23:48 GMT 2024 - 3.2K bytes - Click Count (0) -
docs/de/docs/tutorial/request-forms.md
/// tip | Tipp Um Formularbodys zu deklarieren, verwenden Sie explizit `Form`, da diese Parameter sonst als Query-Parameter oder Body (JSON)-Parameter interpretiert werden würden. /// ## Über „Formularfelder“ { #about-form-fields } HTML-Formulare (`<form></form>`) senden die Daten in einer „speziellen“ Kodierung zum Server, die sich von JSON unterscheidet. **FastAPI** stellt sicher, dass diese Daten korrekt ausgelesen werden, statt JSON zu erwarten.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/grid/trace.go
) // TraceParamsKey allows to pass trace parameters to the request via context. // This is only needed when un-typed requests are used. // MSS, map[string]string types are preferred, but any struct with exported fields will work. type TraceParamsKey struct{} // traceRequests adds request tracing to the connection. func (c *Connection) traceRequests(p *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]) { c.trace = &tracer{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jun 01 05:17:37 GMT 2024 - 4.1K bytes - Click Count (0) -
docs/es/docs/tutorial/request-forms.md
Para declarar bodies de formularios, necesitas usar `Form` explícitamente, porque sin él, los parámetros se interpretarían como parámetros de query o como parámetros de body (JSON). /// ## Sobre "Campos de formulario" { #about-form-fields } La manera en que los formularios HTML (`<form></form>`) envían los datos al servidor normalmente usa una codificación "especial" para esos datos, es diferente de JSON.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 3.1K bytes - Click Count (0) -
internal/config/certsinfo.go
"strings" color "github.com/minio/minio/internal/color" ) // Extra ASN1 OIDs that we may need to handle var ( oidEmailAddress = []int{1, 2, 840, 113549, 1, 9, 1} ) // printName prints the fields of a distinguished name, which include such // things as its common name and locality. func printName(names []pkix.AttributeTypeAndValue, buf *strings.Builder) []string { values := []string{} for _, name := range names {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 16 17:28:29 GMT 2021 - 3.1K bytes - Click Count (0)