Skip to content
Snippets Groups Projects

[Webservice] Restructure database to give more meaningful success/failure information

Merged Thomas Kluyver requested to merge webservice-refactor-db into master
5 unresolved threads
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -5,7 +5,7 @@ parser = argparse.ArgumentParser(
@@ -5,7 +5,7 @@ parser = argparse.ArgumentParser(
description='Update run status at MDC for a given run id.')
description='Update run status at MDC for a given run id.')
parser.add_argument('--sqlite-fpath', type=str, help='Path to sqlite file path',
parser.add_argument('--sqlite-fpath', type=str, help='Path to sqlite file path',
default='/home/xcal/calibration_webservice/webservice/webservice_jobs.sqlite') # noqa
default='/home/xcal/calibration_webservice/webservice/webservice_jobs.sqlite') # noqa
parser.add_argument('--run', type=str, help='The run number required '
parser.add_argument('--run', type=int, help='The run number required '
' for checking its job status.')
' for checking its job status.')
parser.add_argument('--proposal', type=str, help='Proposal numer')
parser.add_argument('--proposal', type=str, help='Proposal numer')
Loading