- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,106 for Model2 (0.04 seconds)
-
docs/ru/docs/tutorial/sql-databases.md
---> 100% ``` </div> ## Создание приложения с единственной моделью { #create-the-app-with-a-single-model } Сначала мы создадим самую простую первую версию приложения с одной моделью **SQLModel**. Позже мы улучшим его, повысив безопасность и универсальность, добавив **несколько моделей**. 🤓 ### Создание моделей { #create-models } Импортируйте `SQLModel` и создайте модель базы данных:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 23.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
model = builder.build(); String modelVersion = new MavenModelVersion().getModelVersion(model); if (!ModelBuilder.MODEL_VERSION_4_0_0.equals(modelVersion) && !preserveModelVersion) { warnNotDowngraded(project); } model = model.withModelVersion(modelVersion); return model; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 27 07:40:26 GMT 2025 - 21.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 Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 12:58:04 GMT 2025 - 4.9K bytes - Click Count (0) -
fastapi/utils.py
version: Literal["1", "auto"] = "auto", ) -> ModelField: if annotation_is_pydantic_v1(type_): raise PydanticV1NotSupportedError( "pydantic.v1 models are no longer supported by FastAPI." f" Please update the response model {type_!r}." ) class_validators = class_validators or {} field_info = field_info or FieldInfo(annotation=type_, default=default, alias=alias)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
disabled = user_dict["disabled"], hashed_password = user_dict["hashed_password"], ) ``` /// info For a more complete explanation of `**user_dict` check back in [the documentation for **Extra Models**](../extra-models.md#about-user-in-dict){.internal-link target=_blank}. /// ## Return the token { #return-the-token } The response of the `token` endpoint must be a JSON object.
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) -
fastapi/security/open_id_connect_url.py
from typing import Annotated, Optional 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 Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/schema-extra-example.md
/// ### `examples` no Pydantic e no FastAPI { #pydantic-and-fastapi-examples } Quando você adiciona `examples` dentro de um modelo Pydantic, usando `schema_extra` ou `Field(examples=["something"])`, esse exemplo é adicionado ao **JSON Schema** para esse modelo Pydantic. E esse **JSON Schema** do modelo Pydantic é incluído no **OpenAPI** da sua API e, então, é usado na UI da documentação.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
/// ### `examples` de Pydantic y FastAPI { #pydantic-and-fastapi-examples } Cuando añades `examples` dentro de un modelo de Pydantic, usando `schema_extra` o `Field(examples=["algo"])`, ese ejemplo se añade al **JSON Schema** para ese modelo de Pydantic. Y ese **JSON Schema** del modelo de Pydantic se incluye en el **OpenAPI** de tu API, y luego se usa en la interfaz de documentación.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) -
docs/en/docs/features.md
### Security and authentication { #security-and-authentication } Security and authentication integrated. Without any compromise with databases or data models. All the security schemes defined in OpenAPI, including: * HTTP Basic. * **OAuth2** (also with **JWT tokens**). Check the tutorial on [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank}.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 9.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
import org.apache.maven.api.DependencyScope; import org.apache.maven.artifact.Artifact; import org.apache.maven.impl.resolver.RelocatedArtifact; import org.apache.maven.model.Dependency; import org.apache.maven.model.DependencyManagement; import org.apache.maven.model.Exclusion; import org.eclipse.aether.DefaultRepositorySystemSession; import org.eclipse.aether.RepositorySystem; import org.eclipse.aether.RepositorySystemSession;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 9.2K bytes - Click Count (0)