Skip to content

Commit

Permalink
Update Generated Code that has formValues as String only
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-symphony committed Oct 28, 2024
1 parent 4bd9bc6 commit 201ba2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions symphony/bdk/gen/agent_model/v4_symphony_elements_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 201ba2f

Please sign in to comment.