@autorest/python 6.10.0 → 6.10.1

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.
@@ -92,13 +92,13 @@ class BinaryType(PrimitiveType):
92
92
  return self.type
93
93
 
94
94
  def docstring_type(self, **kwargs: Any) -> str:
95
- return self.type
95
+ return f"{self.type}[bytes]"
96
96
 
97
97
  def type_annotation(self, **kwargs: Any) -> str:
98
- return self.docstring_type(**kwargs)
98
+ return f"{self.type}[bytes]"
99
99
 
100
100
  def docstring_text(self, **kwargs: Any) -> str:
101
- return "IO"
101
+ return f"{self.type}[bytes]"
102
102
 
103
103
  @property
104
104
  def default_template_representation_declaration(self) -> str:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/python",
3
- "version": "6.10.0",
3
+ "version": "6.10.1",
4
4
  "description": "The Python extension for generators in AutoRest.",
5
5
  "main": "index.js",
6
6
  "repository": {