Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for __file__ (0.06 sec)

  1. tests/test_exception_handlers.py

        client = TestClient(app, raise_server_exceptions=True)
        with pytest.raises(ValueError) as exc_info:
            client.get("/dependency-with-yield")
        last_frame = exc_info.traceback[-1]
        assert str(last_frame.path) == __file__
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 03 22:37:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. scripts/mkdocs_hooks.py

        return missing_translation_path.read_text(encoding="utf-8")
    
    
    @lru_cache
    def get_mkdocs_material_langs() -> list[str]:
        material_path = Path(material.__file__).parent
        material_langs_path = material_path / "templates" / "partials" / "languages"
        langs = [file.stem for file in material_langs_path.glob("*.html")]
        return langs
    
    
    class EnFile(File):
        pass
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. scripts/translate.py

                missing_paths.append(path)
        print(missing_paths)
        return missing_paths
    
    
    @app.command()
    def list_outdated(language: str) -> list[Path]:
        dir_path = Path(__file__).absolute().parent.parent
        repo = git.Repo(dir_path)
    
        outdated_paths: list[Path] = []
        en_lang_paths = list(iter_en_paths_to_translate())
        for path in en_lang_paths:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  4. scripts/docs.py

        new_alternate: list[dict[str, str]] = []
        # Language names sourced from https://quickref.me/iso-639-1
        # Contributors may wish to update or change these, e.g. to fix capitalization.
        language_names_path = Path(__file__).parent / "../docs/language_names.yml"
        local_language_names: dict[str, str] = mkdocs.utils.yaml_load(
            language_names_path.read_text(encoding="utf-8")
        )
        for lang_path in get_lang_paths():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
            warnings.warn(message, stacklevel=1)
        operation_ids.add(operation_id)
        operation["operationId"] = operation_id
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            final String template = """
                    {"source":{"index":"__SOURCE_INDEX__","size":__SIZE__},"dest":{"index":"__DEST_INDEX__"}}
                    """;
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String source = template //
                    .replace("__SOURCE_INDEX__", fromIndex)//
                    .replace("__SIZE__", fessConfig.getIndexReindexSize())//
                    .replace("__DEST_INDEX__", toIndex);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  7. src/main/resources/fess_config.properties

    image/tiff=tiff\n\
    image/jpeg=jpg\n\
    
    # Number of documents to process per reindex operation.
    index.reindex.size=100
    # Request body template for reindex operations.
    index.reindex.body={"source":{"index":"__SOURCE_INDEX__","size":__SIZE__},"dest":{"index":"__DEST_INDEX__"},"script":{"source":"__SCRIPT_SOURCE__"}}
    # Requests per second for reindex operations ("adaptive" for auto).
    index.reindex.requests_per_second=adaptive
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. 100 */
        String INDEX_REINDEX_SIZE = "index.reindex.size";
    
        /** The key of the configuration. e.g. {"source":{"index":"__SOURCE_INDEX__","size":__SIZE__},"dest":{"index":"__DEST_INDEX__"},"script":{"source":"__SCRIPT_SOURCE__"}} */
        String INDEX_REINDEX_BODY = "index.reindex.body";
    
        /** The key of the configuration. e.g. adaptive */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 525.7K bytes
    - Viewed (2)
Back to top