Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for read_pet (0.04 sec)

  1. scripts/docs.py

                ("'t", "t"),  # don't -> dont
                ("**", ""),  # **FastAPI**s -> FastAPIs
            ],
        )
    
    
    def get_en_config() -> dict[str, Any]:
        return mkdocs.utils.yaml_load(en_config_path.read_text(encoding="utf-8"))
    
    
    def get_lang_paths() -> list[Path]:
        return sorted(docs_path.iterdir())
    
    
    def lang_callback(lang: Optional[str]) -> Union[str, None]:
        if lang is None:
            return None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_generate_clients/test_tutorial004.py

        with patch("pathlib.Path", return_value=tmp_file):
            importlib.import_module("docs_src.generate_clients.tutorial004_py39")
    
        modified_openapi = json.loads(tmp_file.read_text())
        assert modified_openapi == {
            "components": {
                "schemas": {
                    "HTTPValidationError": {
                        "properties": {
                            "detail": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. scripts/translate.py

        lang_prompt_content = lang_prompt_path.read_text(encoding="utf-8")
    
        en_docs_path = Path("docs/en/docs")
        assert str(en_path).startswith(str(en_docs_path)), (
            f"Path must be inside {en_docs_path}"
        )
        out_path = generate_lang_path(lang=language, path=en_path)
        out_path.parent.mkdir(parents=True, exist_ok=True)
        original_content = en_path.read_text(encoding="utf-8")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top