Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
Little UX improvements in CLI (cvat-ai#5446)
Browse files Browse the repository at this point in the history
- Reduced request status checks period to 2 sec.
- Fixed parameter help message
  • Loading branch information
zhiltsov-max authored and mikhail-treskin committed Jul 1, 2023
1 parent f60cd7a commit 9f587f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cvat-cli/src/cvat_cli/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def make_cmdline_parser() -> argparse.ArgumentParser:
task_create_parser.add_argument(
"--completion_verification_period",
dest="status_check_period",
default=20,
default=2,
type=float,
help="""number of seconds to wait until checking
if data compression finished (necessary before uploading annotations)""",
Expand Down Expand Up @@ -261,7 +261,7 @@ def make_cmdline_parser() -> argparse.ArgumentParser:
dump_parser.add_argument(
"--completion_verification_period",
dest="status_check_period",
default=3,
default=2,
type=float,
help="number of seconds to wait until checking if dataset building finished",
)
Expand Down Expand Up @@ -298,7 +298,7 @@ def make_cmdline_parser() -> argparse.ArgumentParser:
export_task_parser.add_argument(
"--completion_verification_period",
dest="status_check_period",
default=3,
default=2,
type=float,
help="time interval between checks if archive building has been finished, in seconds",
)
Expand All @@ -311,9 +311,9 @@ def make_cmdline_parser() -> argparse.ArgumentParser:
import_task_parser.add_argument(
"--completion_verification_period",
dest="status_check_period",
default=3,
default=2,
type=float,
help="time interval between checks if archive proessing was finished, in seconds",
help="time interval between checks if archive processing was finished, in seconds",
)

return parser
Expand Down

0 comments on commit 9f587f0

Please sign in to comment.