Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mod_path (0.05 sec)

  1. tests/test_tutorial/test_settings/test_app02.py

    from pytest import MonkeyPatch
    
    
    @pytest.fixture(
        name="mod_path",
        params=[
            pytest.param("app02_py39"),
            pytest.param("app02_an_py39"),
        ],
    )
    def get_mod_path(request: pytest.FixtureRequest):
        mod_path = f"docs_src.settings.{request.param}"
        return mod_path
    
    
    @pytest.fixture(name="main_mod")
    def get_main_mod(mod_path: str) -> ModuleType:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_settings/test_app03.py

    from pytest import MonkeyPatch
    
    
    @pytest.fixture(
        name="mod_path",
        params=[
            pytest.param("app03_py39"),
            pytest.param("app03_an_py39"),
        ],
    )
    def get_mod_path(request: pytest.FixtureRequest):
        mod_path = f"docs_src.settings.{request.param}"
        return mod_path
    
    
    @pytest.fixture(name="main_mod")
    def get_main_mod(mod_path: str) -> ModuleType:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/main/assemblies/files/generate-thumbnail

    #!/bin/bash
    
    cmd_type=$1
    url=$2
    output_file=$3
    mimetype=${4:-}
    image_size=100x100
    target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
    
    check_command() {
      cmd=$1
      cmd_path=$(command -v "${cmd}")
      if [[ ! -e "${cmd_path}" ]] ; then
        echo "${cmd} does not exist."
        exit 1
      fi
    }
    
    # Get ImageMagick command (magick for v7, convert for v6)
    get_imagemagick_cmd() {
      if command -v magick >/dev/null 2>&1; then
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top