Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cli_main (0.04 sec)

  1. tests/test_fastapi_cli.py

        )
        assert result.returncode == 1, result.stdout
        assert "Path does not exist non_existent_file.py" in result.stdout
    
    
    def test_fastapi_cli_not_installed():
        with patch.object(fastapi.cli, "cli_main", None):
            with pytest.raises(RuntimeError) as exc_info:
                fastapi.cli.main()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 04:02:38 UTC 2025
    - 866 bytes
    - Viewed (0)
  2. pyproject.toml

        "uvicorn[standard] >=0.12.0",
        # Settings management
        "pydantic-settings >=2.0.0",
        # Extra Pydantic data types
        "pydantic-extra-types >=2.0.0",
    ]
    
    [project.scripts]
    fastapi = "fastapi.cli:main"
    
    [tool.pdm]
    version = { source = "file", path = "fastapi/__init__.py" }
    distribution = true
    
    [tool.pdm.build]
    source-includes = [
        "tests/",
        "docs_src/",
        "requirements*.txt",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top