- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for BODY (0.01 sec)
-
docs/uk/docs/tutorial/body.md
/// ## Без Pydantic
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10K bytes - Viewed (0) -
docs/ru/docs/tutorial/body.md
Первое, что вам необходимо сделать, это импортировать `BaseModel` из пакета `pydantic`: {* ../../docs_src/body/tutorial001.py hl[4] *} ## Создание вашей собственной модели После этого вы описываете вашу модель данных как класс, наследующий от `BaseModel`. Используйте аннотации типов Python для всех атрибутов: {* ../../docs_src/body/tutorial001.py hl[7:11] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
# Body - Вложенные модели С помощью **FastAPI**, вы можете определять, валидировать, документировать и использовать модели произвольной вложенности (благодаря библиотеке Pydantic). ## Определение полей содержащих списки Вы можете определять атрибут как подтип. Например, тип `list` в Python: {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *} ## Підтримка в редакторі всюди Ви отримаєте підтримку в редакторі всюди. Навіть для елементів у списках: <img src="/img/tutorial/body-nested-models/image01.png"> Ви не змогли б отримати таку підтримку в редакторі, якби працювали напряму зі `dict`, а не з моделями Pydantic.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 28 14:18:01 UTC 2025 - 10.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java
xpathTransformer.setChildUrlRuleMap(childUrlRuleMap); Map<String, String> fieldRuleMap = newLinkedHashMap(); fieldRuleMap.put("title", "//TITLE"); fieldRuleMap.put("body", "//BODY"); fieldRuleMap.put("pcount", "count(//P)"); fieldRuleMap.put("true", "true()"); fieldRuleMap.put("false", "false()"); xpathTransformer.setFieldRuleMap(fieldRuleMap);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 12.5K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
if err := parseJSONBody(ctx, r.Body, &sites, cred.SecretKey); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } opts := getSRAddOptions(r) status, err := globalSiteReplicationSys.AddPeerClusters(ctx, sites, opts) if err != nil { adminLogIf(ctx, err) writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } body, err := json.Marshal(status)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.3K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
} if testCase.shouldPass && !bytes.Equal(testCase.lifecycleResponse, rec.Body.Bytes()) { t.Errorf("Test %d: %s: Expected the response to be `%s`, but instead found `%s`", i+1, instanceType, string(testCase.lifecycleResponse), rec.Body.String()) } errorResponse := APIErrorResponse{} err = xml.Unmarshal(rec.Body.Bytes(), &errorResponse) if err != nil && !testCase.shouldPass {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/auth-handler_test.go
} } } // Provides a fully populated http request instance, fails otherwise. func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request { req, err := newTestRequest(method, urlStr, contentLength, body) if err != nil { t.Fatalf("Unable to initialize new http request %s", err) } return req }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15.4K bytes - Viewed (0) -
docs/es/docs/tutorial/schema-extra-example.md
Cuando usas cualquiera de: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` también puedes declarar un grupo de `examples` con información adicional que se añadirá a sus **JSON Schemas** dentro de **OpenAPI**. ### `Body` con `examples` Aquí pasamos `examples` que contiene un ejemplo de los datos esperados en `Body()`: {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
/** * Checks if this response has a response body. * * @return true if the response has a body (either as bytes or file), false otherwise */ public boolean hasResponseBody() { return responseBodyBytes != null || responseBodyFile != null; } /** * Gets the response body as an InputStream. * If the response body is stored as bytes, returns a ByteArrayInputStream.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0)