- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 980 for ModelC (0.05 seconds)
-
docs/de/docs/advanced/additional-responses.md
Jedes dieser Response-`dict`s kann einen Schlüssel `model` haben, welcher ein Pydantic-Modell enthält, genau wie `response_model`. **FastAPI** nimmt dieses Modell, generiert dessen JSON-Schema und fügt es an der richtigen Stelle in OpenAPI ein. Um beispielsweise eine weitere Response mit dem Statuscode `404` und einem Pydantic-Modell `Message` zu deklarieren, können Sie schreiben:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 9.9K bytes - Click Count (0) -
fastapi/security/open_id_connect_url.py
from typing import Annotated from annotated_doc import Doc from fastapi.openapi.models import OpenIdConnect as OpenIdConnectModel from fastapi.security.base import SecurityBase from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.status import HTTP_401_UNAUTHORIZED class OpenIdConnect(SecurityBase): """ OpenID Connect authentication class. An instance of it would be used as a
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 3.1K bytes - Click Count (0) -
docs/es/docs/advanced/events.md
Imaginemos que cargar el modelo puede **tomar bastante tiempo**, porque tiene que leer muchos **datos del disco**. Entonces no quieres hacerlo para cada request. Podrías cargarlo en el nivel superior del módulo/archivo, pero eso también significaría que **cargaría el modelo** incluso si solo estás ejecutando una simple prueba automatizada, entonces esa prueba sería **lenta** porque tendría que esperar a que el modelo se cargue antes de poder ejecutar una parte independiente del código.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 8.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
import org.apache.maven.model.Parent; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginExecution; import org.apache.maven.model.PluginManagement; import org.apache.maven.model.Profile; import org.apache.maven.model.ReportPlugin; import org.apache.maven.model.Reporting; import org.apache.maven.model.Repository; import org.apache.maven.model.Resource; import org.apache.maven.model.building.ModelBuildingRequest;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
fastapi/encoders.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
/** * Gets the raw model to build. If not set, model source will be used to load raw model. * * @return The raw model to build or {@code null} if not set. */ Model getRawModel(); /** * Set raw model. * * @param rawModel */ ModelBuildingRequest setRawModel(Model rawModel); /** * Gets the source of the POM to process.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 12.8K bytes - Click Count (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
hashed_password = user_dict["hashed_password"], ) ``` /// info | Información Para una explicación más completa de `**user_dict` revisa en [la documentación para **Extra Models**](../extra-models.md#about-user-in-dict). /// ## Devolver el token { #return-the-token } El response del endpoint `token` debe ser un objeto JSON.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/sql-databases.md
---> 100% ``` </div> ## Создание приложения с единственной моделью { #create-the-app-with-a-single-model } Сначала мы создадим самую простую первую версию приложения с одной моделью **SQLModel**. Позже мы улучшим его, повысив безопасность и универсальность, добавив **несколько моделей**. 🤓 ### Создание моделей { #create-models } Импортируйте `SQLModel` и создайте модель базы данных:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 23.2K bytes - Click Count (0) -
docs/en/docs/tutorial/body-multiple-params.md
/// ## Embed a single body parameter { #embed-a-single-body-parameter } Let's say you only have a single `item` body parameter from a Pydantic model `Item`. By default, **FastAPI** will then expect its body directly. But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`: ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
/// /// note Notice that the input model is still validated. So, if you want to receive partial updates that can omit all the attributes, you need to have a model with all the attributes marked as optional (with default values or `None`). To distinguish from the models with all optional values for **updates** and models with required values for **creation**, you can use the ideas described in [Extra Models](extra-models.md).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0)