Skip to content

Commit

Permalink
adjust CLI typing
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Jul 14, 2024
1 parent a4f4643 commit 5e6e02d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/dandi_s3_log_parser/_command_line_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ def parse_dandi_raw_s3_log_cli() -> None:
@click.option(
"--raw_s3_log_folder_path",
required=True,
type=click.Path(writable=True),
type=click.Path(writable=False),
help="The path to the folder containing the raw S3 log files.",
)
@click.option(
"--request_type", required=True, type=click.Choice(REQUEST_TYPES), help="The type of request to filter for."
)
@click.option("--seed", required=True, type=int, help="The seed to use for the random number generator.")
@click.option(
"--seed", required=False, type=int, help="The seed to use for the random number generator. The default is 0."
)
def find_random_example_line_cli(
raw_s3_log_folder_path: str | pathlib.Path, request_type: Literal[REQUEST_TYPES], seed: int = 0
) -> None:
Expand Down

0 comments on commit 5e6e02d

Please sign in to comment.