Skip to content

Commit 14a60d9

Browse files
committed
remove left over 'update_format' flag
1 parent 216d65b commit 14a60d9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

bioimageio/core/__main__.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@
2020
def package(
2121
rdf_source: str = typer.Argument(..., help="RDF source as relative file path or URI"),
2222
path: Path = typer.Argument(Path() / "{src_name}-package.zip", help="Save package as"),
23-
update_format: bool = typer.Option(
24-
False,
25-
help="Update format version to the latest version (might fail even if source adheres to an old format version)."
26-
"To inform the format update the source may specify fields of future versions in "
27-
"config:future:<future version>.", # todo: add future documentation
28-
),
2923
weights_priority_order: Optional[List[str]] = typer.Option(
3024
None,
3125
"-wpo",
@@ -36,7 +30,9 @@ def package(
3630
),
3731
verbose: bool = typer.Option(False, help="show traceback of exceptions"),
3832
) -> int:
39-
return commands.package(rdf_source, path, update_format, weights_priority_order, verbose)
33+
return commands.package(
34+
rdf_source=rdf_source, path=path, weights_priority_order=weights_priority_order, verbose=verbose
35+
)
4036

4137

4238
package.__doc__ = commands.package.__doc__

0 commit comments

Comments
 (0)