Skip to content

Commit

Permalink
Added new CLI options to std_options, too
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Oct 9, 2024
1 parent 6bcc7c5 commit 49001a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions exasol/python_extension_common/cli/std_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ class StdParams(Enum):
alter_system = (StdTags.SLC, auto())
allow_override = (StdTags.SLC, auto())
wait_for_completion = (StdTags.SLC, auto())
extract_timeout_minutes = (StdTags.SLC, auto())
display_progress = (StdTags.SLC, auto())

def __init__(self, tags: StdTags, value):
self.tags = tags
Expand Down Expand Up @@ -151,6 +153,8 @@ def __init__(self, tags: StdTags, value):
StdParams.alter_system: {'type': bool, 'default': True},
StdParams.allow_override: {'type': bool, 'default': False},
StdParams.wait_for_completion: {'type': bool, 'default': True}
StdParams.extract_timeout_minutes: {'type': int, 'default': 10}
StdParams.display_progress: {'type': bool, 'default': True}
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def secret_callback(ctx: click.Context, param: click.Option, value: Any):
@click.option('--allow-override/--disallow-override', type=bool, default=False)
@click.option('--wait_for_completion/--no-wait_for_completion', type=bool, default=True)
@click.option('--extract-timeout-minutes', type=int, default=10)
# @click.option('--extract-check-interval-seconds', type=int, default=10)
@click.option('--display-progress/--no-display-progress', type=bool, default=True)
def language_container_deployer_main(
bucketfs_name: str,
Expand Down

0 comments on commit 49001a4

Please sign in to comment.