def _Dictionary(self, data_value):
    """Convert provided object to language specific literal."""
    wrapper = '{%s}'
    pairs = []

    for key, val in data_value.value.iteritems():
      val = self.RenderDataValue(val)
      pairs.append('"%s": %s' % (key, val))

    return wrapper % ', '.join(pairs)
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/python_generator.py/PythonLanguageModel._Dictionary/original