Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 207 for yaml (0.13 seconds)

  1. .teamcity/jdks.yaml

    github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1770285177 +0000
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 05 09:52:57 GMT 2026
    - 6.6K bytes
    - Click Count (1)
  2. .pre-commit-config.yaml

    repos:
      - repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v6.0.0
        hooks:
          - id: check-added-large-files
            args: ['--maxkb=750']
            exclude: ^uv.lock$
          - id: check-toml
          - id: check-yaml
            args:
            - --unsafe
          - id: end-of-file-fixer
          - id: trailing-whitespace
    
      - repo: local
        hooks:
          - id: local-ruff-check
            name: ruff check
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 2.6K bytes
    - Click Count (1)
  3. .asf.yaml

    Slawomir Jaranowski <******@****.***> 1774793470 +0200
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 30 18:09:45 GMT 2026
    - 709 bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/path-operation-advanced-configuration.md

    {* ../../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:05:38 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py310.py hl[15:20, 22] *}
    
    Nevertheless, although we are not using the default integrated functionality, we are still using a Pydantic model to manually generate the JSON Schema for the data that we want to receive in YAML.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. .editorconfig

    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    spelling_languages = en-US
    
    # Markdown files sometimes need trailing whitespaces.
    [*.md]
    trim_trailing_whitespace = false
    
    [*.{yml,yaml}]
    indent_size = 2
    
    [gradle/verification-metadata.xml]
    indent_size = 3
    
    [subprojects/launcher/src/main/resources/release-features.txt]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Nov 25 07:01:54 GMT 2025
    - 582 bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. scripts/topic_repos.py

            )
        data = [repo.model_dump() for repo in final_repos]
    
        # Local development
        # repos_path = Path("../docs/en/data/topic_repos.yml")
        repos_path = Path("./docs/en/data/topic_repos.yml")
        repos_old_content = repos_path.read_text(encoding="utf-8")
        new_repos_content = yaml.dump(data, sort_keys=False, width=200, allow_unicode=True)
        if repos_old_content == new_repos_content:
    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)
Back to Top