Main.Accert.update_input_variable#
- Accert.update_input_variable(c, var_id, u_i_var_value, u_i_var_unit, var_type='', quite=False)[source]#
Updates an input variable value and unit based on variable’s ID. (Converts unit if needed)
- Parameters:
c (MySQLCursor) – MySQLCursor class instantiates objects that can execute MySQL statements.
var_id (str) – Variable ID.
u_i_var_value (float) – Variable value.
u_i_var_unit (str) – Variable unit.
var_type (str, optional) – Variable type, by default ‘’
quite (bool, optional) – Whether or not to print the update info. (By default not, or false)