- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 766 for FieldA (0.04 seconds)
-
tests/test_openapi_schema_type.py
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.""" schema = Schema(type=type_value) assert schema.type == type_value def test_invalid_type_value() -> None: """Test that Schema raises ValueError for invalid type values."""Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 730 bytes - Click Count (0) -
docs/pt/docs/tutorial/request-form-models.md
Você pode verificar na UI de documentação em `/docs`: <div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Proibir Campos Extras de Formulários { #forbid-extra-form-fields } Em alguns casos de uso especiais (provavelmente não muito comum), você pode desejar **restringir** os campos do formulário para aceitar apenas os declarados no modelo Pydantic. E **proibir** qualquer campo **extra**.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.5K bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_an_py39.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 734 bytes - Click Count (0) -
cmd/format-meta.go
// formatMetaV1 should be inherited by backend format structs. Please look at format-fs.go // and format-xl.go for details. // Ideally we will never have a situation where we will have to change the // fields of this struct and deal with related migration. type formatMetaV1 struct { // Version of the format config. Version string `json:"version"` // Format indicates the backend format type, supports two values 'xl' and 'fs'.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.7K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java
* to be lightweight yet powerful, supporting various scopes of object lifecycle from * singleton instances to mojo-execution-scoped beans. * <p> * Key features include: * <ul> * <li>Constructor, method, and field injection</li> * <li>Qualifiers for distinguishing between beans of the same type</li> * <li>Multiple scopes (Singleton, Session, and MojoExecution)</li> * <li>Priority-based implementation selection</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 896 bytes - Click Count (0) -
docs_src/dependencies/tutorial008c_py39.py
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun": raise InternalError(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 660 bytes - Click Count (0) -
docs_src/dependencies/tutorial008c_an_py39.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun":
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 700 bytes - Click Count (0) -
docs/ru/docs/tutorial/middleware.md
* Получает **ответ** (от *операции пути*). * Может что-то сделать с этим **ответом** или выполнить любой нужный код. * И возвращает **ответ**. /// note | Технические детали Если у вас есть зависимости с `yield`, то код выхода (код после `yield`) будет выполняться *после* middleware.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.3K bytes - Click Count (0) -
docs/de/docs/tutorial/request-form-models.md
Sie können dies in der Dokumentations-UI unter `/docs` testen: <div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Zusätzliche Formularfelder verbieten { #forbid-extra-form-fields }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java
try { return expressionEvaluator.evaluate(strValue) != null; } catch (ExpressionEvaluationException e) { // not important // will be reported during Mojo fields populate } // fallback - in case of error in expressionEvaluator return false; } @Override public final void validate( MavenSession mavenSession,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0)