- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for Discriminator (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
fastapi/params.py
description=description, gt=gt, ge=ge, lt=lt, le=le, min_length=min_length, max_length=max_length, discriminator=discriminator, multiple_of=multiple_of, allow_inf_nan=allow_inf_nan, max_digits=max_digits, decimal_places=decimal_places, **extra, )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 26.3K bytes - Click Count (0) -
tests/test_union_body_discriminator.py
class OtherItem(BaseModel): value: Literal["other"] price: float Item = Annotated[ Union[Annotated[FirstItem, Tag("first")], Annotated[OtherItem, Tag("other")]], Field(discriminator="value"), ] @app.post("/items/") def save_union_body_discriminator( item: Item, q: Annotated[str, Field(description="Query string")] ) -> dict[str, Any]: return {"item": item}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.1K bytes - Click Count (0) -
fastapi/param_functions.py
gt=gt, ge=ge, lt=lt, le=le, min_length=min_length, max_length=max_length, pattern=pattern, regex=regex, discriminator=discriminator, strict=strict, multiple_of=multiple_of, allow_inf_nan=allow_inf_nan, max_digits=max_digits, decimal_places=decimal_places, example=example,Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 63K bytes - Click Count (0) -
tests/test_union_body_discriminator_annotated.py
from inline_snapshot import snapshot from pydantic import BaseModel @pytest.fixture(name="client") def client_fixture() -> TestClient: from fastapi import Body from pydantic import Discriminator, Tag class Cat(BaseModel): pet_type: str = "cat" meows: int class Dog(BaseModel): pet_type: str = "dog" barks: float def get_pet_type(v):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/dag.txt
quarkus/extensions/reactive-pg-client/runtime/pom.xml quarkus/extensions/kubernetes-service-binding/runtime/pom.xml quarkus/test-framework/junit5/pom.xml quarkus/integration-tests/hibernate-orm-tenancy/discriminator/pom.xml quarkus/extensions/undertow/runtime/pom.xml quarkus/extensions/hibernate-orm/runtime/pom.xml quarkus/extensions/jdbc/jdbc-postgresql/runtime/pom.xml
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 224K bytes - Click Count (0) -
LICENSE
or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 33.7K bytes - Click Count (0) -
CREDITS
or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Mar 13 05:29:51 GMT 2025 - 1.8M bytes - Click Count (0)