webinterface.pages.base_pages.utils.inputs module#
- webinterface.pages.base_pages.utils.inputs.generate_input_widget(variables_quant: dataclass, input_format: str, content: dict, key: str = '', editable: bool = True) Any[source]#
Generate input fields in the Streamlit UI based on the specified format and content.
- webinterface.pages.base_pages.utils.inputs.update_parameters_submission_form(variables_quant, field, value) None[source]#
Update the session state dictionary with the specified field and value.
- Parameters:
variables_quant (dataclass) – The variables quantification dataclass containing the session state keys used.
field (str) – The field to update.
value (Any) – The value to update the field with.