@@ -445,17 +445,12 @@ def referencenwp(verbose, user, password, base_url, run_time,
445445 '--serialization-roundtrip' , is_flag = True ,
446446 help = 'Run the raw report through a mock API with serialization'
447447)
448- @click .option (
449- '--orca-server-url' , help = (
450- 'URL to the plotly orca server to generate PDF images if '
451- 'orca is not installed locally' )
452- )
453448@click .argument (
454449 'report-file' , type = click .Path (exists = True , resolve_path = True ))
455450@click .argument (
456451 'output-file' , type = click .Path (resolve_path = True ))
457452def report (verbose , user , password , base_url , report_file , output_file ,
458- format , serialization_roundtrip , orca_server_url ):
453+ format , serialization_roundtrip ):
459454 """
460455 Make a report. See API documentation's POST reports section for
461456 REPORT_FILE requirements.
@@ -468,9 +463,6 @@ def report(verbose, user, password, base_url, report_file, output_file,
468463 metadata = json .load (f )
469464 session = APISession (token , base_url = base_url )
470465 report = session .process_report_dict (metadata )
471- if orca_server_url is not None :
472- import plotly .io as pio
473- pio .orca .config .server_url = orca_server_url
474466 if serialization_roundtrip :
475467 with mock_raw_report_endpoints (base_url ):
476468 session .create_report (report )
0 commit comments