- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,110 for ModelA (0.05 seconds)
-
docs/ru/docs/how-to/separate-openapi-schemas.md
Посмотрим, как это работает, и как это изменить при необходимости. ## Pydantic‑модели для входа и выхода { #pydantic-models-for-input-and-output } Предположим, у вас есть Pydantic‑модель со значениями по умолчанию, как здесь: {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *} ### Модель для входа { #model-for-input } Если использовать эту модель как входную, как здесь:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 6.9K bytes - Click Count (0) -
tests/test_openapi_schema_type.py
from typing import Optional, Union import pytest from fastapi.openapi.models import Schema, SchemaType @pytest.mark.parametrize( "type_value", [ "array", ["string", "null"], None, ], ) def test_allowed_schema_type( type_value: Optional[Union[SchemaType, list[SchemaType]]], ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 730 bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
import org.apache.maven.api.di.Singleton; import org.apache.maven.api.model.Build; import org.apache.maven.api.model.Model; import org.apache.maven.api.model.Parent; import org.apache.maven.api.model.Plugin; import org.apache.maven.api.model.PluginManagement; import org.apache.maven.api.model.Repository; import org.apache.maven.api.model.RepositoryPolicy; import org.apache.maven.api.services.ModelBuilder;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java
*/ private static class MockModelBuilderResult implements ModelBuilderResult { private final Model effectiveModel; private final Model rawModel; private final Model fileModel; MockModelBuilderResult(Model effectiveModel, Model rawModel, Model fileModel) { this.effectiveModel = effectiveModel; this.rawModel = rawModel;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/de/docs/tutorial/schema-extra-example.md
## Zusätzliche JSON-Schemadaten in Pydantic-Modellen { #extra-json-schema-data-in-pydantic-models } Sie können `examples` („Beispiele“) für ein Pydantic-Modell deklarieren, welche dem generierten JSON-Schema hinzugefügt werden. {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *} Diese zusätzlichen Informationen werden unverändert zum für dieses Modell ausgegebenen **JSON-Schema** hinzugefügt und in der API-Dokumentation verwendet.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 10.6K bytes - Click Count (0) -
scripts/playwright/header_param_models/image01.py
page.get_by_role("button", name="GET /items/ Read Items").click() page.get_by_role("button", name="Try it out").click() # Manually add the screenshot page.screenshot(path="docs/en/docs/img/tutorial/header-param-models/image01.png") # --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/header_param_models/tutorial001.py"] ) try:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 1.1K bytes - Click Count (0) -
scripts/playwright/request_form_models/image01.py
page.get_by_role("button", name="POST /login/ Login").click() page.get_by_role("button", name="Try it out").click() # Manually add the screenshot page.screenshot(path="docs/en/docs/img/tutorial/request-form-models/image01.png") # --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/request_form_models/tutorial001.py"] ) try:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1.1K bytes - Click Count (0) -
.idea/gradle.xml
<option value="$PROJECT_DIR$/platforms/core-configuration/kotlin-dsl-tooling-models" /> <option value="$PROJECT_DIR$/platforms/core-configuration/model-core" /> <option value="$PROJECT_DIR$/platforms/core-configuration/model-groovy" /> <option value="$PROJECT_DIR$/platforms/core-configuration/model-reflect" /> <option value="$PROJECT_DIR$/platforms/core-configuration/project-features" />Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 18:02:10 GMT 2025 - 23.2K bytes - Click Count (0) -
compat/maven-compat/pom.xml
<artifactId>modello-maven-plugin</artifactId> <configuration> <version>1.0.0</version> <models> <model>src/main/mdo/profiles.mdo</model> <model>src/main/mdo/paramdoc.mdo</model> </models> </configuration> <executions> <execution> <id>modello</id> <goals>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/en/docs/release-notes.md
@app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]): return filter_query ``` Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/). #### `Header` Parameter Models Use Pydantic models for `Header` parameters: ```python from typing import Annotated from fastapi import FastAPI, Header from pydantic import BaseModel
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0)