@autorest/python 6.9.8 → 6.9.9

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.
@@ -677,7 +677,7 @@ class _OperationSerializer(
677
677
 
678
678
  def param_description(self, builder: OperationType) -> List[str]:
679
679
  description_list = super().param_description(builder)
680
- if builder.expose_stream_keyword:
680
+ if builder.expose_stream_keyword and builder.has_response_body:
681
681
  description_list.append(
682
682
  ":keyword bool stream: Whether to stream the response of this operation. "
683
683
  "Defaults to False. You will have to context manage the returned stream."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/python",
3
- "version": "6.9.8",
3
+ "version": "6.9.9",
4
4
  "description": "The Python extension for generators in AutoRest.",
5
5
  "main": "index.js",
6
6
  "repository": {