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

[Bug]: :raises: DeserializationError if something went wrong #6153

Open
4 tasks done
xiangyan99 opened this issue Feb 25, 2025 · 0 comments
Open
4 tasks done

[Bug]: :raises: DeserializationError if something went wrong #6153

xiangyan99 opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Comments

@xiangyan99
Copy link
Member

xiangyan99 commented Feb 25, 2025

Describe the bug

This is transferred from Azure/autorest.python#2955

In generated code, we have code like
:raises: DeserializationError if something went wrong

which should be

:raises DeserializationError: if something went wrong

This was fixed in most of the cases, but seems like it still exists in from_dict method.

Reproduction

As above

Checklist

@xiangyan99 xiangyan99 added the bug Something isn't working label Feb 25, 2025
@markcowl markcowl added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working emitter:client:python Issue for the Python client emitter: @typespec/http-client-python
Projects
None yet
Development

No branches or pull requests

2 participants