You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help=("Directory to place output files into. If not provided"
47
-
" the file directory will be used."),
48
-
)
34
+
notebook_dir_or_file: Annotated[
35
+
Optional[str],
36
+
typer.Argument(
37
+
help="Path to a notebook file or a directory containing notebooks.",
38
+
),
49
39
] =None,
50
-
prepend: Annotated[Optional[str], typer.Option(
51
-
help=("Prepend components to use on output filename."
52
-
"Can use dict keys from 'params' which will be evaluated."
53
-
"(Comma-separated values)."),
54
-
callback=lambdax: x.split(",") ifxelseNone
55
-
)
40
+
notebook_params: Annotated[
41
+
Optional[str],
42
+
typer.Argument(
43
+
help=(
44
+
"JSON file that contains parameters for notebook execution. "
45
+
"Can either be a 'list of dict' or 'dict of list'."
46
+
),
47
+
),
56
48
] =None,
57
-
append: Annotated[Optional[str], typer.Option(
58
-
help=("Append components to use on output filename."
59
-
"Can use dict keys from 'params' which will be evaluated."
60
-
"(Comma-separated values)."),
61
-
callback=lambdax: x.split(",") ifxelseNone
62
-
)
49
+
profile: Annotated[
50
+
Optional[str],
51
+
typer.Argument(
52
+
help=(
53
+
"A millrun YAML profile file that specifies the notebook_dir_or_file and notebook_params (along with additional options) instead of providing them directly."
54
+
),
55
+
),
56
+
] =None,
57
+
output_dir: Annotated[
58
+
Optional[str],
59
+
typer.Option(
60
+
help=(
61
+
"Directory to place output files into. If not provided"
62
+
" the current working directory will be used."
63
+
),
64
+
),
65
+
] =None,
66
+
prepend: Annotated[
67
+
Optional[str],
68
+
typer.Option(
69
+
help=(
70
+
"Prepend components to use on output filename."
71
+
"Can use dict keys from 'params' which will be evaluated."
72
+
"(Comma-separated values)."
73
+
),
74
+
callback=lambdax: x.split(",") ifxelseNone,
75
+
),
76
+
] =None,
77
+
append: Annotated[
78
+
Optional[str],
79
+
typer.Option(
80
+
help=(
81
+
"Append components to use on output filename."
82
+
"Can use dict keys from 'params' which will be evaluated."
0 commit comments