- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,134 for modal (0.14 sec)
-
maven-core/src/test/resources/projects/past-model-version-pom.xml
under the License. --> <project> <!-- once we move past supporting modelVersion 4.0.0 we should update this version --> <modelVersion>3.9.9</modelVersion> <groupId>tests.project</groupId> <artifactId>past-model-version</artifactId> <version>1</version>
XML - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Mon Jun 03 20:33:44 GMT 2019 - 1K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model_pv2.py
return name async def get_model_c() -> ModelC: return ModelC(username="test-user", password="test-password") @app.get("/model/{name}", response_model=ModelA) async def get_model_a(name: str, model_c=Depends(get_model_c)): return {"name": name, "description": "model-a-desc", "foo": model_c} client = TestClient(app) return client @needs_pydanticv2
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 6.3K bytes - Viewed (0) -
tests/test_response_model_as_return_annotation.py
app = FastAPI() @app.get("/no_response_model-no_annotation-return_model") def no_response_model_no_annotation_return_model(): return User(name="John", surname="Doe") @app.get("/no_response_model-no_annotation-return_dict") def no_response_model_no_annotation_return_dict(): return {"name": "John", "surname": "Doe"} @app.get("/response_model-no_annotation-return_same_model", response_model=User)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Aug 14 09:49:57 GMT 2023 - 47.7K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py
client = TestClient(app) return client @needs_pydanticv1 def test_filter_sub_model(client: TestClient): response = client.get("/model/modelA") assert response.status_code == 200, response.text assert response.json() == { "name": "modelA", "description": "model-a-desc", "model_b": {"username": "test-user"}, } @needs_pydanticv1
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.5K bytes - Viewed (0) -
maven-core/src/test/resources/projects/child-which-inherits-from-super-model.xml
XML - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Sun Nov 23 12:04:30 GMT 2014 - 954 bytes - Viewed (0) -
src/main/resources/fess_indices/_aws/fess.json
"tiklab", "iekšpus", "nedz", "tik", "nevis", "turpretim", "jeb", "iekam", "iekām", "iekāms", "kolīdz", "līdzko", "tiklīdz", "jebšu", "tālab", "tāpēc", "nekā", "itin", "jā", "jau", "jel", "nē", "nezin", "tad", "tikai", "vis", "tak", "iekams", "vien", "# modal verbs", "būt ", "biju ", "biji", "bija", "bijām", "bijāt", "esmu", "esi", "esam", "esat ", "būšu ", "būsi", "būs", "būsim", "būsiet", "tikt", "tiku", "tiki", "tika", "tikām", "tikāt", "tieku", "tiec", "tiek", "tiekam", "tiekat", "tikšu", "tiks",...
Json - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Tue Mar 23 12:38:28 GMT 2021 - 117.3K bytes - Viewed (0) -
maven-core/src/test/resources/projects/future-schema-model-version-pom.xml
under the License. --> <project> <modelVersion>4.999.999</modelVersion> <!-- this should be a fake "future" version that only has modelVersion understood by us --> <coordinates>tests.project:future-model-version</coordinates>
XML - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Mon Jun 03 20:33:44 GMT 2019 - 993 bytes - Viewed (0) -
tests/test_response_model_data_filter_no_inheritance.py
class PetDB(BaseModel): name: str owner: UserDB class PetOut(BaseModel): name: str owner: User @app.post("/users/", response_model=User) async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", )
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 1.7K bytes - Viewed (0) -
src/main/resources/fess_indices/_cloud/fess.json
"tiklab", "iekšpus", "nedz", "tik", "nevis", "turpretim", "jeb", "iekam", "iekām", "iekāms", "kolīdz", "līdzko", "tiklīdz", "jebšu", "tālab", "tāpēc", "nekā", "itin", "jā", "jau", "jel", "nē", "nezin", "tad", "tikai", "vis", "tak", "iekams", "vien", "# modal verbs", "būt ", "biju ", "biji", "bija", "bijām", "bijāt", "esmu", "esi", "esam", "esat ", "būšu ", "būsi", "būs", "būsim", "būsiet", "tikt", "tiku", "tiki", "tika", "tikām", "tikāt", "tieku", "tiec", "tiek", "tiekam", "tiekat", "tikšu", "tiks",...
Json - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sat Feb 27 09:26:16 GMT 2021 - 117.3K bytes - Viewed (0) -
tests/test_additional_responses_custom_model_in_callback.py
class CustomModel(BaseModel): a: int app = FastAPI() callback_router = APIRouter(default_response_class=JSONResponse) @callback_router.get( "{$callback_url}/callback/", responses={400: {"model": CustomModel}} ) def callback_route(): pass # pragma: no cover @app.post("/", callbacks=callback_router.routes) def main_route(callback_url: HttpUrl): pass # pragma: no cover
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 5.8K bytes - Viewed (0)