We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is no 204 status code support in api_client.py, which will cause issue when status code is 204 like set_assignee api etc.
set_assignee
async def send(self, request: Request, type_: Type[T]) -> T: response = await self.middleware(request, self.send_inner) if response.status_code in [200, 201]: try: return parse_obj_as(type_, response.json()) except ValidationError as e: raise ResponseHandlingException(e) raise UnexpectedResponse.for_response(response)
Exception raised when 204 returned.
Unexpected Response: 204 (Unrecognized Status Code)
We manually added 204 support as below to avoid exception.
if response.status_code == 204: return response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is no 204 status code support in api_client.py, which will cause issue when status code is 204 like
set_assignee
api etc.Current Code
Issue:
Exception raised when 204 returned.
Unexpected Response: 204 (Unrecognized Status Code)
Current resolution:
We manually added 204 support as below to avoid exception.
The text was updated successfully, but these errors were encountered: