- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for honela (0.18 sec)
-
tests/test_filter_pydantic_sub_model_pv2.py
@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 def test_filter_sub_model(client: TestClient): response = client.get("/model/modelA") assert response.status_code == 200, response.text
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) -
docs/es/docs/deployment/index.md
## ¿Qué significa desplegar una aplicación? **Desplegar** una aplicación significa realizar una serie de pasos para hacerla **disponible para los usuarios**. Para una **API web**, normalmente implica ponerla en una **máquina remota**, con un **programa de servidor** que proporcione un buen rendimiento, estabilidad, etc, para que sus **usuarios** puedan **acceder** a la aplicación de manera eficiente y sin interrupciones o problemas.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Feb 07 11:55:38 GMT 2024 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_dataclasses/test_tutorial003.py
"description": "The kombucha mushroom people's favorite", }, {"name": "Pad Thai", "description": None}, { "name": "Lonely Night", "description": "The mostests lonliest nightiest of allest", }, ], }, ] @needs_pydanticv2 def test_openapi_schema():
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 12.1K bytes - Viewed (0) -
docs_src/dataclasses/tutorial003.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 1.4K 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) -
tests/test_filter_pydantic_sub_model/app_pv1.py
from fastapi import Depends, FastAPI from pydantic import BaseModel, validator app = FastAPI() class ModelB(BaseModel): username: str class ModelC(ModelB): password: str class ModelA(BaseModel): name: str description: Optional[str] = None model_b: ModelB @validator("name") def lower_username(cls, name: str, values): if not name.endswith("A"):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 784 bytes - Viewed (0) -
docs/en/data/github_sponsors.yml
url: https://github.com/ndimares - - login: takashi-yoneya avatarUrl: https://avatars.githubusercontent.com/u/33813153?u=2d0522bceba0b8b69adf1f2db866503bd96f944e&v=4 url: https://github.com/takashi-yoneya - login: xoflare avatarUrl: https://avatars.githubusercontent.com/u/74335107?v=4 url: https://github.com/xoflare - login: marvin-robot
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 22:21:11 GMT 2024 - 26.8K bytes - Viewed (0)