Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 481 for yaml (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. docs/ko/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py310.py hl[15:20, 22] *}
    
    그럼에도 기본 통합 기능을 사용하지 않더라도, YAML로 받고자 하는 데이터에 대한 JSON Schema를 수동으로 생성하기 위해 Pydantic 모델을 여전히 사용합니다.
    
    그 다음 요청을 직접 사용하고, 바디를 `bytes`로 추출합니다. 이는 FastAPI가 요청 페이로드를 JSON으로 파싱하려고 시도조차 하지 않는다는 뜻입니다.
    
    그리고 코드에서 YAML 콘텐츠를 직접 파싱한 뒤, 다시 같은 Pydantic 모델을 사용해 YAML 콘텐츠를 검증합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_wrong_lang_code.py

        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
            "Code block (lines 16-19) has different language than the original block ('yaml' vs 'toml')"
        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_wrong_lang_code_2.md")],
        indirect=True,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-upgrade-tests.yml

        axes:
          - axis:
              type: label-expression
              name: os
              values:
                - centos-8-packaging
                - ubuntu-20.04-packaging
          - 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: Tue Aug 10 19:43:38 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

    import java.io.File;
    import java.nio.file.Path;
    import java.util.Map;
    
    import static org.elasticsearch.gradle.internal.test.rest.RestTestUtil.setupTestDependenciesDefaults;
    
    /**
     * Apply this plugin to run the YAML based REST tests from a prior major version against this version's cluster.
     */
    public class YamlRestCompatTestPlugin implements Plugin<Project> {
        private static final String REST_COMPAT_CHECK_TASK_NAME = "checkRestCompat";
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code.md

    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    The following block has wrong language code (should be TOML):
    
    ```yaml
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 946 bytes
    - Click Count (0)
  8. docs/en/docs/alternatives.md

    The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route.
    
    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    But then, we have again the problem of having a micro-syntax, inside of a Python string (a big YAML).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  9. cmd/batch-handlers.go

    type BatchJobRequest struct {
    	ID        string               `yaml:"-" json:"name"`
    	User      string               `yaml:"-" json:"user"`
    	Started   time.Time            `yaml:"-" json:"started"`
    	Replicate *BatchJobReplicateV1 `yaml:"replicate" json:"replicate"`
    	KeyRotate *BatchJobKeyRotateV1 `yaml:"keyrotate" json:"keyrotate"`
    	Expire    *BatchJobExpire      `yaml:"expire" json:"expire"`
    	ctx       context.Context      `msg:"-"`
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  10. scripts/sponsors.py

        github_sponsors = {
            "sponsors": sponsors,
        }
    
        # For local development
        # github_sponsors_path = Path("../docs/en/data/github_sponsors.yml")
        github_sponsors_path = Path("./docs/en/data/github_sponsors.yml")
        updated = update_content(
            content_path=github_sponsors_path, new_content=github_sponsors
        )
    
        if not updated:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top