Skip to content

Commit 9b6de29

Browse files
minor cleanup
1 parent d932f2e commit 9b6de29

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scaffold/cli.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@
66
import typer
77
import uvicorn
88
from loguru import logger
9-
from typer import Argument, Typer
109

1110
from scaffold.pipeline import pipeline
1211
from 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()
1817
def 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(
4140
def 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")

0 commit comments

Comments
 (0)