diff --git a/pori_python/ipr/main.py b/pori_python/ipr/main.py index 2c6eefd..fe5fa9d 100644 --- a/pori_python/ipr/main.py +++ b/pori_python/ipr/main.py @@ -90,6 +90,18 @@ def command_interface() -> None: action="store_true", help='Write to output_json_path on successful IPR uploads instead of just when the upload fails', ) + parser.add_argument( + '--async_upload', + default=False, + action='store_true', + help='True if reports-async ipr endpoint should be used instead of basic reports', + ) + parser.add_argument( + '--mins_to_wait', + default=5, + action='store', + help='is using reports-async, number of minutes to wait before throwing error', + ) args = parser.parse_args() @@ -107,6 +119,8 @@ def command_interface() -> None: always_write_output_json=args.always_write_output_json, generate_therapeutics=args.therapeutics, generate_comments=not args.skip_comments, + async_upload=args.async_upload, + mins_to_wait=args.mins_to_wait, )