Coverage for tests/test_completion/path_example.py: 100%
6 statements
« prev ^ index » next coverage.py v7.6.1, created at 2025-04-14 00:18 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2025-04-14 00:18 +0000
1from pathlib import Path 1abcdefghi
3import typer 1abcdefghi
5app = typer.Typer() 1abcdefghi
8@app.command() 1abcdefghi
9def f(p: Path): 1abcdefghi
10 print(p) 1abcdefghi
13if __name__ == "__main__": 1abcdefghi
14 app() 1abcdefghi