Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 292 for pyyaml (0.04 seconds)

  1. docs/ru/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py310.py hl[15:20, 22] *}
    
    Тем не менее, хотя мы не используем встроенную функциональность по умолчанию, мы всё равно используем Pydantic-модель, чтобы вручную сгенерировать JSON Schema для данных, которые мы хотим получить в YAML.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. .github/labeler.yml

            - '!pyproject.toml'
    
    internal:
      - all:
        - changed-files:
          - any-glob-to-any-file:
            - .github/**
            - scripts/**
            - .gitignore
            - .pre-commit-config.yaml
            - uv.lock
            - docs/en/data/sponsors.yml
            - docs/en/overrides/main.html
          - all-globs-to-all-files:
            - '!docs/*/docs/**'
            - '!fastapi/**'
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 16:26:38 GMT 2026
    - 888 bytes
    - Click Count (0)
  3. 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)
  4. docs/debugging/s3-verify/go.sum

    golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
    gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
    gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 17 11:45:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. .ci/jobs.t/elastic+elasticsearch+multijob+packaging-tests-upgrade.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 May 25 23:43:40 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  6. 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)
  7. .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)
  8. scripts/sponsors.py

    import logging
    import secrets
    import subprocess
    from collections import defaultdict
    from pathlib import Path
    from typing import Any
    
    import httpx
    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    github_graphql_url = "https://api.github.com/graphql"
    
    
    sponsors_query = """
    query Q($after: String) {
      user(login: "tiangolo") {
    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)
  9. docs/debugging/s3-verify/go.mod

    	github.com/rs/xid v1.6.0 // indirect
    	golang.org/x/crypto v0.36.0 // indirect
    	golang.org/x/net v0.38.0 // indirect
    	golang.org/x/sys v0.31.0 // indirect
    	golang.org/x/text v0.23.0 // indirect
    	gopkg.in/yaml.v3 v3.0.1 // indirect
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 803 bytes
    - Click Count (0)
  10. 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)
Back to Top