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

1from pathlib import Path 1abcdefghi

2 

3import typer 1abcdefghi

4 

5app = typer.Typer() 1abcdefghi

6 

7 

8@app.command() 1abcdefghi

9def f(p: Path): 1abcdefghi

10 print(p) 1abcdefghi

11 

12 

13if __name__ == "__main__": 1abcdefghi

14 app() 1abcdefghi