Skip to content

Conversation

@iscai-msft
Copy link
Contributor

fixes #728

@iscai-msft iscai-msft requested a review from lmazuel July 30, 2020 20:47
chosen_parameter.multiple_media_types_type_annot = f"Union[{type_annot}]"
chosen_parameter.multiple_media_types_docstring_type = docstring_type

@property
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ideally would've had this code in jinja2, but spent a long time and don't think I can get the jinja2 template to correctly filter by property 'has_lro'. Always defaults to what an Operation model has for this value: False

@iscai-msft iscai-msft merged commit fb411ed into autorestv3 Aug 5, 2020
@iscai-msft iscai-msft deleted the polling_interval_in_doc branch August 5, 2020 20:48
iscai-msft added a commit that referenced this pull request Aug 7, 2020
…into verify_multipart

* 'autorestv3' of https://github.com/Azure/autorest.python:
  Update package.json
  Update ChangeLog.md
  Replace not extend scopes (#745)
  Have either AzureKeyCredential typing or TokenCredential typing (#744)
  only add polling interval in service client doc if package has lro operations (#732)
  Add azure mgmt core to setup (#738)
  Update package.json
  Update ChangeLog.md
  Add azure key credential param name (#736)
iscai-msft added a commit that referenced this pull request Sep 10, 2020
…into add_nullable_to_validation_map

* 'autorestv3' of https://github.com/Azure/autorest.python: (41 commits)
  add 401 -> ClientAuthenticationError to error map (#763)
  NotImplementedError -> ValueError (#764)
  Update ChangeLog.md
  improve API version error (#752)
  fix warning for BearerTokenCredentialPolicy and no credential scopes (#758)
  update to 4.15.416 (#761)
  Update ChangeLog.md
  remove async suffix (#759)
  Handle m4 accept header parameter (#748)
  Multipart (#746)
  Introduce explode into autorest (#705)
  update azure-core and msrest versions (#747)
  Update package.json
  Update ChangeLog.md
  Replace not extend scopes (#745)
  Have either AzureKeyCredential typing or TokenCredential typing (#744)
  only add polling interval in service client doc if package has lro operations (#732)
  Add azure mgmt core to setup (#738)
  Update package.json
  Update ChangeLog.md
  ...
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.

3 participants