- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 831 for extras (0.05 seconds)
-
docs/es/docs/tutorial/header-param-models.md
<img src="/img/tutorial/header-param-models/image01.png"> </div> ## Prohibir Headers Extra { #forbid-extra-headers } En algunos casos de uso especiales (probablemente no muy comunes), podrías querer **restringir** los headers que deseas recibir. Puedes usar la configuración del modelo de Pydantic para `prohibir` cualquier campo `extra`: {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/request-form-models.md
```json { "detail": [ { "type": "extra_forbidden", "loc": ["body", "extra"], "msg": "Extra inputs are not permitted", "input": "Mr. Poopybutthole" } ] } ``` ## Итоги { #summary }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/en/docs/tutorial/body-fields.md
/// ## Add extra information { #add-extra-information } You can declare extra information in `Field`, `Query`, `Body`, etc. And it will be included in the generated JSON Schema. You will learn more about adding extra information later in the docs, when learning to declare examples. /// warningCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.3K bytes - Click Count (0) -
fastapi/params.py
openapi_examples: dict[str, Example] | None = None, deprecated: deprecated | str | bool | None = None, include_in_schema: bool = True, json_schema_extra: dict[str, Any] | None = None, **extra: Any, ): if example is not _Unset: warnings.warn( "`example` has been deprecated, please use `examples` instead", category=FastAPIDeprecationWarning,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.7K bytes - Click Count (0) -
cmd/net.go
host = ipAddress } // Strip off IPv6 zone information. if i := strings.Index(host, "%"); i > -1 { host = host[:i] } return net.ParseIP(host) != nil } // extractHostPort - extracts host/port from many address formats // such as, ":9000", "localhost:9000", "http://localhost:9000/" func extractHostPort(hostAddr string) (string, string, error) { var addr, scheme string if hostAddr == "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.6K bytes - Click Count (1) -
internal/crypto/sse-kms.go
// that the object was uploaded using SSE-KMS. func (ssekms) IsEncrypted(metadata map[string]string) bool { if _, ok := metadata[MetaSealedKeyKMS]; ok { return true } return false } // UnsealObjectKey extracts and decrypts the sealed object key // from the metadata using KMS and returns the decrypted object // key.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
} return stripped.trim(); } /** * Extracts a string value from JSON response using Jackson parser. * * @param json the JSON response * @param key the key to extract * @return the extracted string value */ protected String extractJsonString(final String json, final String key) { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FailureUrlService.java
op.setRefreshPolicy(Constants.TRUE); }); return failureUrl; } /** * Extracts and returns the stack trace from a throwable as a string. * The stack trace is abbreviated if it exceeds the configured maximum length. * * @param t the throwable to extract the stack trace from * @return the stack trace as a string, or empty string if extraction fails */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 9.2K bytes - Click Count (0) -
docs/ko/docs/tutorial/request-form-models.md
예를 들어, 클라이언트가 폼 필드를 보내려고 하면: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` `extra` 필드가 허용되지 않는다는 오류 응답을 받게 됩니다: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["body", "extra"], "msg": "Extra inputs are not permitted", "input": "Mr. Poopybutthole" } ] } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 2.4K bytes - Click Count (0) -
tests/test_openapi_query_parameter_extension.py
"parameters": [ { "required": False, "schema": {"title": "Extra Param 1"}, "name": "extra_param_1", "in": "query", }, { "required": True, "schema": {"title": "Extra Param 2"}, "name": "extra_param_2", "in": "query", }, ] },
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.8K bytes - Click Count (0)