sematic
sematic copied to clipboard
Option to suppress get_item in UI
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])