Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 308 for yams (0.03 seconds)

  1. 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)
  2. tests/go.mod

    	github.com/pmezard/go-difflib v1.0.0 // indirect
    	github.com/tjfoc/gmsm v1.4.1 // indirect
    	golang.org/x/crypto v0.43.0 // indirect
    	golang.org/x/sync v0.17.0 // indirect
    	golang.org/x/text v0.30.0 // indirect
    	gopkg.in/yaml.v3 v3.0.1 // indirect
    )
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. 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)
  4. docs/tr/docs/alternatives.md

    Çalışma şekli: Her bir route’u işleyen fonksiyonun docstring’i içine YAML formatında şema tanımı yazarsınız.
    
    Ve OpenAPI şemaları üretir.
    
    Flask, Starlette, Responder vb. için çalışma şekli böyledir.
    
    Ancak yine, Python metni içinde (kocaman bir YAML) mikro bir söz dizimi sorunu ortaya çıkar.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 24K bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/path-operation-advanced-configuration.md

    그럼에도 기본 통합 기능을 사용하지 않더라도, YAML로 받고자 하는 데이터에 대한 JSON Schema를 수동으로 생성하기 위해 Pydantic 모델을 여전히 사용합니다.
    
    그 다음 요청을 직접 사용하고, 바디를 `bytes`로 추출합니다. 이는 FastAPI가 요청 페이로드를 JSON으로 파싱하려고 시도조차 하지 않는다는 뜻입니다.
    
    그리고 코드에서 YAML 콘텐츠를 직접 파싱한 뒤, 다시 같은 Pydantic 모델을 사용해 YAML 콘텐츠를 검증합니다:
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py310.py hl[24:31] *}
    
    /// tip | 팁
    
    여기서는 같은 Pydantic 모델을 재사용합니다.
    
    하지만 마찬가지로, 다른 방식으로 검증할 수도 있습니다.
    
    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)
  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. docs/uk/docs/alternatives.md

    Принцип роботи полягає в тому, що ви пишете визначення схеми, використовуючи формат YAML, у docstring кожної функції, що обробляє маршрут.
    
    І він генерує схеми OpenAPI.
    
    Так це працює у Flask, Starlette, Responder тощо.
    
    Але потім ми знову маємо проблему наявності мікросинтаксису всередині Python строки (великий YAML).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 37.2K bytes
    - Click Count (0)
  8. docs/fr/docs/alternatives.md

    Le principe est le suivant : vous écrivez la définition du schéma au format YAML dans la docstring de chaque fonction gérant une route.
    
    Et il génère des schémas OpenAPI.
    
    C'est ainsi que cela fonctionne dans Flask, Starlette, Responder, etc.
    
    Mais alors, nous avons à nouveau le problème d'avoir une micro-syntaxe, dans une docstring Python (un gros morceau de YAML).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  9. docs/zh/docs/alternatives.md

    但文档仍然缺失,于是出现了 APISpec。
    
    它为许多框架提供插件(Starlette 也有插件)。
    
    它的工作方式是:你在处理路由的每个函数的文档字符串里,用 YAML 格式编写模式定义。
    
    然后它会生成 OpenAPI 模式。
    
    这正是它在 Flask、Starlette、Responder 等框架里的工作方式。
    
    但这样我们又回到了在 Python 字符串中维护一套“微语法”(一大段 YAML)的问题上。
    
    编辑器很难为此提供帮助;而且如果我们修改了参数或 Marshmallow 模式,却忘了同步更新那个 YAML 文档字符串,生成的模式就会过时。
    
    /// info | 信息
    
    APISpec 由与 Marshmallow 相同的开发者创建。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  10. docs/es/docs/alternatives.md

    La manera en que funciona es que escribes la definición del esquema usando el formato YAML dentro del docstring de cada función que maneja una ruta.
    
    Y genera esquemas OpenAPI.
    
    Así es como funciona en Flask, Starlette, Responder, etc.
    
    Pero luego, tenemos otra vez el problema de tener una micro-sintaxis, dentro de un string de Python (un gran YAML).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 24.5K bytes
    - Click Count (0)
Back to Top