- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 288 for YAML (0.05 seconds)
-
docs/ja/docs/advanced/path-operation-advanced-configuration.md
{* ../../docs_src/path_operation_advanced_configuration/tutorial007_py310.py hl[15:20, 22] *} それでも、デフォルトの統合機能を使っていないにもかかわらず、YAMLで受け取りたいデータのために、Pydanticモデルを使って手動でJSON Schemaを生成しています。 そしてリクエストを直接使い、ボディを `bytes` として抽出します。これは、FastAPIがリクエストペイロードをJSONとしてパースしようとすらしないことを意味します。 その後、コード内でそのYAMLコンテンツを直接パースし、さらに同じPydanticモデルを使ってYAMLコンテンツを検証しています。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.2K bytes - Click Count (0) -
TESTING.asciidoc
themselves can be written in either Java or with a YAML based DSL. YAML based REST tests should be preferred since these are shared between all the elasticsearch official clients. The YAML based tests describe the operations to be executed and the obtained results that need to be tested.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 13:55:20 GMT 2021 - 32.5K bytes - Click Count (0) -
docs/zh/docs/advanced/path-operation-advanced-configuration.md
例如,在这个应用中我们不使用 FastAPI 集成的从 Pydantic 模型提取 JSON Schema 的功能,也不使用对 JSON 的自动校验。实际上,我们将请求的内容类型声明为 YAML,而不是 JSON: {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py310.py hl[15:20, 22] *} 尽管我们没有使用默认的集成功能,我们仍然使用 Pydantic 模型手动生成我们想以 YAML 接收的数据的 JSON Schema。 然后我们直接使用请求并将请求体提取为 `bytes`。这意味着 FastAPI 甚至不会尝试将请求负载解析为 JSON。 接着在我们的代码中,我们直接解析该 YAML 内容,然后再次使用同一个 Pydantic 模型来验证该 YAML 内容:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.7K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+full-bwc.yml
black-list-labels: - '>test-mute' axes: - axis: type: slave name: nodes values: - "general-purpose" - axis: type: yaml filename: ".ci/bwcVersions" name: "BWC_VERSION" builders: - inject: properties-file: '.ci/java-versions.properties' properties-content: |Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Aug 05 17:48:16 GMT 2021 - 1.7K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+periodic+bwc.yml
- job-display-name: "elastic / elasticsearch # %BRANCH% - backwards compatibility matrix" - job-description: "Testing of the Elasticsearch %BRANCH% branch backwards compatibility matrix.\n" - matrix-yaml-file: ".ci/bwcVersions" - matrix-variable: BWC_VERSION
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu May 06 21:46:09 GMT 2021 - 440 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
OutputStream jsonOutput = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON); assertNotNull(jsonOutput); // Test with YAML OutputStream yamlOutput = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.YAML); assertNotNull(yamlOutput); } @Test public void test_getXContentOutputStream_success() { ToXContent xContent = new ToXContent() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+periodic+java-fips-matrix.yml
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 24 17:56:51 GMT 2021 - 485 bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPlugin.java
import static org.elasticsearch.gradle.internal.test.rest.RestTestUtil.registerTestTask; import static org.elasticsearch.gradle.internal.test.rest.RestTestUtil.setupTestDependenciesDefaults; /** * Apply this plugin to run the YAML based REST tests. */ public class InternalYamlRestTestPlugin implements Plugin<Project> { public static final String SOURCE_SET_NAME = "yamlRestTest"; @Override public void apply(Project project) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 16:04:42 GMT 2021 - 2.8K bytes - Click Count (0) -
build-tools-internal/build.gradle
} yamlRestCompatTest { id = 'elasticsearch.yaml-rest-compat-test' implementationClass = 'org.elasticsearch.gradle.internal.rest.compat.YamlRestCompatTestPlugin' } yamlRestTest { id = 'elasticsearch.internal-yaml-rest-test' implementationClass = 'org.elasticsearch.gradle.internal.test.rest.InternalYamlRestTestPlugin' } } }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 18:10:22 GMT 2021 - 11.3K bytes - Click Count (0) -
scripts/topic_repos.py
import logging import secrets import subprocess from pathlib import Path import yaml from github import Github from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings class Settings(BaseSettings): github_repository: str github_token: SecretStr class Repo(BaseModel): name: str html_url: str stars: int owner_login: str owner_html_url: str
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 2.7K bytes - Click Count (0)