- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 301 for Models (0.04 sec)
-
docs/ja/docs/tutorial/handling-errors.md
#### `RequestValidationError`と`ValidationError` /// warning | 注意 これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。 /// `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。 **FastAPI** は`response_model`でPydanticモデルを使用していて、データにエラーがあった場合、ログにエラーが表示されるようにこれを使用しています。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.6K bytes - Viewed (0) -
tests/association_generics_test.go
package tests_test import ( "context" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) // BelongsToCompany and BelongsToUser models for belongs to tests - using existing User and Company models // Test Set + Create with Association OpCreate operation using real database func TestClauseAssociationSetCreateWithOpCreate(t *testing.T) { ctx := context.Background()
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 05:42:26 UTC 2025 - 37.9K bytes - Viewed (0) -
fastapi/dependencies/utils.py
fields_to_extract = get_cached_model_fields(first_field.type_) single_not_embedded_field = True # If headers are in a Pydantic model, the way to disable convert_underscores # would be with Header(convert_underscores=False) at the Pydantic model level default_convert_underscores = getattr( first_field.field_info, "convert_underscores", True )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 37.6K bytes - Viewed (3) -
fastapi/routing.py
if annotation_is_pydantic_v1(model): raise PydanticV1NotSupportedError( "pydantic.v1 models are no longer supported by FastAPI." f" In responses={{}}, please update {model}." ) response_field = create_model_field( name=response_name, type_=model, mode="serialization" )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (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;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0) -
migrator/migrator.go
// // // CREATE VIEW `user_view` AS SELECT * FROM `users` WHERE age > 20 // q := DB.Model(&User{}).Where("age > ?", 20) // DB.Debug().Migrator().CreateView("user_view", gorm.ViewOption{Query: q}) // // // CREATE OR REPLACE VIEW `users_view` AS SELECT * FROM `users` WITH CHECK OPTION // q := DB.Model(&User{})
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:31:09 UTC 2025 - 29.7K bytes - Viewed (0) -
fastapi/param_functions.py
from collections.abc import Sequence from typing import Annotated, Any, Callable, Optional, Union from annotated_doc import Doc from fastapi import params from fastapi._compat import Undefined from fastapi.openapi.models import Example from pydantic import AliasChoices, AliasPath from typing_extensions import Literal, deprecated _Unset: Any = Undefined def Path( # noqa: N802 default: Annotated[ Any, Doc(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 63K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
If your application is **simple**, this will probably **not be a problem**, and you might not need to specify hard memory limits. But if you are **using a lot of memory** (for example with **machine learning** models), you should check how much memory you are consuming and adjust the **number of containers** that runs in **each machine** (and maybe add more machines to your cluster).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 12:58:04 UTC 2025 - 29.5K bytes - Viewed (1) -
docs/en/docs/alternatives.md
It can't handle nested models very well. So, if the JSON body in the request is a JSON object that has inner fields that in turn are nested JSON objects, it cannot be properly documented and validated. /// check | Inspired **FastAPI** to
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 23.6K bytes - Viewed (0) -
tests/test_response_model_include_exclude.py
}, "baz": "simple_include_dict model2 baz", } @app.get( "/simple_exclude", response_model=Model2, response_model_exclude={"ref": {"bar"}}, ) def simple_exclude(): return Model2( ref=Model1(foo="simple_exclude model foo", bar="simple_exclude model bar"), baz="simple_exclude model2 baz", ) @app.get( "/simple_exclude_dict",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Jul 19 19:14:58 UTC 2021 - 4K bytes - Viewed (0)