@autorest/python 6.9.1 → 6.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -757,7 +757,7 @@ class Serializer(object):
757
757
  if data_type.startswith("["):
758
758
  internal_data_type = data_type[1:-1]
759
759
  do_quote = not kwargs.get('skip_quote', False)
760
- return str(self.serialize_iter(data, internal_data_type, do_quote=do_quote, **kwargs))
760
+ return self.serialize_iter(data, internal_data_type, do_quote=do_quote, **kwargs)
761
761
 
762
762
  # Not a list, regular serialization
763
763
  output = self.serialize_data(data, data_type, **kwargs)
@@ -249,7 +249,8 @@ class PreProcessPlugin(YamlUpdatePlugin): # pylint: disable=abstract-method
249
249
  )
250
250
  add_redefined_builtin_info(property["clientName"], property)
251
251
  if type.get("name"):
252
- type["name"] = self.pad_reserved_words(type["name"], PadType.MODEL)
252
+ name = self.pad_reserved_words(type["name"], PadType.MODEL)
253
+ type["name"] = name[0].upper() + name[1:]
253
254
  type["description"] = update_description(
254
255
  type.get("description", ""), type["name"]
255
256
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/python",
3
- "version": "6.9.1",
3
+ "version": "6.9.2",
4
4
  "description": "The Python extension for generators in AutoRest.",
5
5
  "main": "index.js",
6
6
  "repository": {