sematic icon indicating copy to clipboard operation
sematic copied to clipboard

Option to suppress get_item in UI

Open eafpres opened this issue 1 year ago • 0 comments

Python 3.9 sematic 0.10.0

Within a sematic function, calling a sematic function that returns a tuple, then accessing components, causes a get_item to appear in the UI:

  results = plot_experiments(status, experiments, exp_results[0])
 @sematic.func
  def update_status(status : str = None) -> str:
    status = (status + 
              ' set_path ' +
              data_path + 
              date_prefix + 
              '_optimization_set.csv')
    return status
  status = update_status(results[1])

image

eafpres avatar Aug 13 '22 22:08 eafpres