Coverage for docs_src/multiple_values/arguments_with_multiple_values/tutorial002.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-09-09 18:26 +0000

1from typing import Tuple 1habcdefg

2 

3import typer 1habcdefg

4 

5 

6def main( 1abcdefg

7 names: Tuple[str, str, str] = typer.Argument( 

8 ("Harry", "Hermione", "Ron"), help="Select 3 characters to play with" 

9 ), 

10): 

11 for name in names: 1habcdefg

12 print(f"Hello {name}") 1habcdefg

13 

14 

15if __name__ == "__main__": 1habcdefg

16 typer.run(main) 1habcdefg