Skip to content

Conversation

AngeloGiacco
Copy link
Collaborator

@AngeloGiacco AngeloGiacco commented Feb 10, 2025

fixes #478

please don't merge, want to leave for fern folks to see

Copy link
Collaborator

@PaulAsjes PaulAsjes left a comment

Choose a reason for hiding this comment

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

Looks good, just one little nit.

return
request_id = _response.headers.get('request-id')
if not request_id:
raise ApiError(
Copy link
Collaborator

Choose a reason for hiding this comment

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

How likely is this to happen?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

impossible because we set it if not provided by the user

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i can just leave it as optional alternatively ?

@AngeloGiacco
Copy link
Collaborator Author

please don't merge, want to leave for fern folks to see

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.

Add response attribute to TextToSpeechClient class
2 participants