File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 66import typer
77import uvicorn
88from loguru import logger
9- from typer import Argument , Typer
109
1110from scaffold .pipeline import pipeline
1211from scaffold .startup import startup
1312
14- cli = Typer (no_args_is_help = True )
13+ cli = typer . Typer (no_args_is_help = True )
1514
1615
1716@cli .command ()
1817def single (
1918 file_path : Annotated [
20- pathlib .Path , Argument (help = "Path to input data in JSON format" )
19+ pathlib .Path , typer . Argument (help = "Path to input data in JSON format" )
2120 ],
2221) -> None :
2322 startup ()
@@ -41,7 +40,7 @@ def single(
4140def batch (
4241 file_path : Annotated [
4342 pathlib .Path ,
44- Argument (help = "Path to a JSON file or a directory containing JSON files" ),
43+ typer . Argument (help = "Path to a JSON file or a directory containing JSON files" ),
4544 ],
4645 max_files : Annotated [
4746 int , typer .Option ("--max-files" , help = "Maximum number of files to process" )
You can’t perform that action at this time.
0 commit comments