From 201ba2f70454a07ccddb61eb51b9399ad2f331a7 Mon Sep 17 00:00:00 2001 From: Anthony Lee Date: Mon, 28 Oct 2024 17:31:59 -0400 Subject: [PATCH] Update Generated Code that has formValues as String only --- .../bdk/gen/agent_model/v4_symphony_elements_action.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/symphony/bdk/gen/agent_model/v4_symphony_elements_action.py b/symphony/bdk/gen/agent_model/v4_symphony_elements_action.py index 9cb5fb9a..7658fb5b 100644 --- a/symphony/bdk/gen/agent_model/v4_symphony_elements_action.py +++ b/symphony/bdk/gen/agent_model/v4_symphony_elements_action.py @@ -87,7 +87,7 @@ def openapi_types(): 'stream': (V4Stream, none_type), # noqa: E501 'form_message_id': (str, none_type), # noqa: E501 'form_id': (str, none_type), # noqa: E501 - 'form_values': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type), # noqa: E501 + 'form_values': ({str: (str,)}, none_type), # noqa: E501 } @cached_property @@ -146,7 +146,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 stream (V4Stream): [optional] # noqa: E501 form_message_id (str): The id of the message that contains the Form. [optional] # noqa: E501 form_id (str): The id of the Form element. [optional] # noqa: E501 - form_values ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): The values (in JSON format) answered on the Form. [optional] # noqa: E501 + form_values ({str: (str,)}): The values (in JSON format) answered on the Form. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -231,7 +231,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 stream (V4Stream): [optional] # noqa: E501 form_message_id (str): The id of the message that contains the Form. [optional] # noqa: E501 form_id (str): The id of the Form element. [optional] # noqa: E501 - form_values ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): The values (in JSON format) answered on the Form. [optional] # noqa: E501 + form_values ({str: (str,)}): The values (in JSON format) answered on the Form. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -260,7 +260,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self.stream: V4Stream = None self.form_message_id: str = None self.form_id: str = None - self.form_values: Union[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}] = None + self.form_values: Union[{str: (str,)}] = None for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \