Skip to content

Commit 1ec7d95

Browse files
fix verbose option
1 parent 73865cb commit 1ec7d95

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

dbclient/parser.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,9 @@ def get_pipeline_parser() -> argparse.ArgumentParser:
461461
parser.add_argument('--silent', action='store_true', default=False,
462462
help='Silent all logging of export operations.')
463463

464+
parser.add_argument('--verbose', action='store_true', default=False,
465+
help='Verbose logging')
466+
464467
parser.add_argument('--no-ssl-verification', action='store_true',
465468
help='Set Verify=False when making http requests.')
466469

@@ -550,4 +553,5 @@ def get_pipeline_parser() -> argparse.ArgumentParser:
550553

551554
parser.add_argument('--groups-to-keep', nargs='+', type=str, default=[],
552555
help='List of groups (and therefore users/notebooks) to keep if specified')
556+
553557
return parser

migration_pipeline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ def build_pipeline(args) -> Pipeline:
5555
client_config['base_dir'] = client_config['export_dir']
5656
client_config['export_dir'] = os.path.join(client_config['base_dir'], session) + '/'
5757

58+
client_config['verbose'] = args.verbose
59+
5860
if not args.dry_run:
5961
os.makedirs(client_config['export_dir'], exist_ok=True)
6062

0 commit comments

Comments
 (0)