Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate correct docstrings for paging and LRO operations #652

Merged
merged 9 commits into from
Jun 4, 2020

Conversation

iscai-msft
Copy link
Contributor

This PR is both now generating the correct docstring for multiapi mixins, and it has also corrected the spacing of non-multiapi paging and LRO generation. Previously, the description would look like this, and it now looks like this

@iscai-msft iscai-msft requested a review from lmazuel May 27, 2020 18:27
…into improve_multiapi_lro_paging_docstring

* 'autorestv3' of https://github.com/Azure/autorest.python:
  LRO Continuation Token [need azure-core 1.6.0] (#565)
  fix http request verb to always be get for next operation if not defined (#664)
  Fix generation of pkgutil files (#661)
  deal with optional return types correctly (#656)
  include new testserver test for paging model whose item name has an x-ms-client-name (#654)
@@ -452,15 +452,15 @@ async def get_not_provided(
async def get_base64_encoded(
self,
**kwargs
) -> bytearray:
) -> bytes:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes from bytearray to bytes are due to this testserver change

@lmazuel lmazuel merged commit 8be68bd into autorestv3 Jun 4, 2020
@lmazuel lmazuel deleted the improve_multiapi_lro_paging_docstring branch June 4, 2020 21:10
iscai-msft added a commit that referenced this pull request Jun 12, 2020
…into add_nullable_to_validation_map

* 'autorestv3' of https://github.com/Azure/autorest.python: (59 commits)
  Support other auth policies (#686)
  correct return type for head operations (#680)
  update mypy.ini (#670)
  import models in operation group if there are just enums (#676)
  add type annotation for empty class model definitions in service client (#672)
  add type ignore to patch file import (#671)
  don't generate namespace test when generating individual swaggers (#683)
  Update package.json
  Update ChangeLog.md
  Fix stdin passthrough when running start.py through run-python3 (#678)
  update to latest testserver (#673)
  Add unicode test routes (#668)
  Generate correct docstrings for paging and LRO operations (#652)
  add missing license headers (#667)
  LRO Continuation Token [need azure-core 1.6.0] (#565)
  fix http request verb to always be get for next operation if not defined (#664)
  Fix generation of pkgutil files (#661)
  deal with optional return types correctly (#656)
  include new testserver test for paging model whose item name has an x-ms-client-name (#654)
  added generating wiki to readme for better access (#646)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants