original_docstring: Helper function to expand data into the Wikibase API structure.
  
          :param data: Data to normalize
          :return: The dict with normalized data
          
docstring: Helper function to expand data into the Wikibase API structure.
docstring_tokens: Helper function to expand data into the Wikibase API structure .
code: def normalizeData(cls, data: dict):
          """Helper function to expand data into the Wikibase API structure.
  
          :param data: Data to normalize
          :return: The dict with normalized data
          """
          norm_data = {}
          for key, value in data.items():
              if isinstance(value, str):
                  norm_data[key] = {'language': key, 'value': value}
              else:
                  norm_data[key] = value
          return norm_data
code_tokens: def normalizeData ( cls , data : dict ) : norm_data = { } for key , value in data . items ( ) : if isinstance ( value , str ) : norm_data [ key ] = { 'language' : key , 'value' : value } else : norm_data [ key ] = value return norm_data
short_docstring: Helper function to expand data into the Wikibase API structure.
short_docstring_tokens: Helper function to expand data into the Wikibase API structure .
comment: """Helper function to expand data into the Wikibase API structure.
  
          :param data: Data to normalize
          :return: The dict with normalized data
          """