File tree Expand file tree Collapse file tree
src/geophires_x_schema_generator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -411,38 +411,6 @@ def get_parameter_sources(self) -> list:
411411 def get_schema_title (self ) -> str :
412412 return 'HIP-RA-X'
413413
414- def get_output_params_table_rst (self , output_params_json ) -> str :
415- """
416- FIXME TODO consolidate with generated result schema
417- """
418-
419- output_params = json .loads (output_params_json )
420-
421- output_rst = """
422- .. list-table:: Outputs
423- :header-rows: 1
424-
425- * - Name
426- - Description
427- - Preferred Units
428- - Default Value Type"""
429-
430- for param_name in output_params :
431- param = output_params [param_name ]
432-
433- def get_key (k ):
434- if k in param and str (param [k ]) != '' : # noqa
435- return param [k ] # noqa
436- else :
437- return ''
438-
439- output_rst += f"""\n * - { param ['Name' ]}
440- - { get_key ('ToolTipText' )}
441- - { get_key ('PreferredUnits' )}
442- - { get_key ('json_parameter_type' )} """
443-
444- return output_rst
445-
446414 def get_input_schema_reference (self ) -> str :
447415 return 'hip-ra-x-request.json'
448416
You can’t perform that action at this time.
0 commit comments