- Sort Score
- Num 10 results
- Language All
Results 1131 - 1140 of 1,602 for none (0.01 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/pt/docs/advanced/additional-status-codes.md
Ele não será serializado com um modelo, etc. Garanta que ele tenha toda informação que você deseja, e que os valores sejam um JSON válido (caso você esteja usando `JSONResponse`). /// /// note | Detalhes Técnicos Você também pode utilizar `from starlette.responses import JSONResponse`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/query-param-models.md
Isso permitiria que você **reutilizasse o modelo** em **diversos lugares**, e também declarasse validações e metadados de todos os parâmetros de uma única vez. 😎 /// note | Nota Isso é suportado desde o FastAPI versão `0.115.0`. 🤓 /// ## Parâmetros de Consulta com um Modelo Pydantic { #query-parameters-with-a-pydantic-model }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_request_body_parameters_media_type.py
from fastapi import Body, FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() media_type = "application/vnd.api+json" # NOTE: These are not valid JSON:API resources # but they are fine for testing requestBody with custom media_type class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str @app.post("/products")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.3K bytes - Click Count (0) -
tests/test_get_model_definitions_formfeed_escape.py
assert response.status_code == 200, response.text assert response.json() == snapshot( { "components": { "schemas": { "Address": { # NOTE: the description of this model shows only the public-facing text, before the `\f` in docstring "description": "This is a public description of an Address\n", "properties": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java
import org.eclipse.aether.DefaultRepositorySystemSession; import org.eclipse.aether.util.graph.manager.ClassicDependencyManager; /** * A utility class to assist in setting up a Maven-like repository system. Note: This component is meant to * assist those clients that employ the repository system outside of an IoC container, Maven plugins should instead * always use regular dependency injection to acquire the repository system. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
cmd/mrf.go
opCh: make(chan PartialOperation, mrfOpsQueueSize), } } // Add a partial S3 operation (put/delete) when one or more disks are offline. func (m *mrfState) addPartialOp(op PartialOperation) { if m == nil { return } if atomic.LoadInt32(&m.closed) == 1 { return } m.wg.Add(1) defer m.wg.Done() if atomic.LoadInt32(&m.closing) == 1 { return } select { case m.opCh <- op: default:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md
participant handler as Exception handler participant dep as Dep with yield participant operation as Path Operation participant tasks as Background tasks Note over client,operation: Can raise exceptions, including HTTPException client ->> dep: Start request Note over dep: Run code up to yield opt raise Exception dep -->> handler: Raise Exception handler -->> client: HTTP error response endCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Feb 09 14:54:09 GMT 2025 - 14.2K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial006.py
} ] } def test_get_http_error(): response = client.get("/items/3") assert response.status_code == 418, response.text assert response.json() == {"detail": "Nope! I don't like 3."} def test_get(): response = client.get("/items/2") assert response.status_code == 200, response.text assert response.json() == {"item_id": 2} def test_openapi_schema():Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.6K bytes - Click Count (0) -
cmd/metrics-v3-types.go
} // If valid non zero value set the metrics if value > 0 { m.values[name] = append(v, metricValue{ Labels: labelMap, Value: value, }) } } // SetHistogram - sets values for the given MetricName using the provided // histogram. // // `filterByLabels` is a map of label names to list of allowed label values to
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java
import org.apache.maven.settings.validation.DefaultSettingsValidator; import org.apache.maven.settings.validation.SettingsValidator; /** * A factory to create settings builder instances when no dependency injection is available. Note: This class * is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.5K bytes - Click Count (0)