-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix Speech LRO handling and add HTTP side for multiple results. #2965
Fix Speech LRO handling and add HTTP side for multiple results. #2965
Conversation
|
||
return Operation.from_pb(response, self) | ||
return Operation.from_pb(operation_future._operation, self) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Ideally, I would prefer the user get the That said, merging this is almost certainly preferable to (1) reverting #2962 (which fixes an item the Speech team identified as critical) or (2) leaving async broken. :-) |
@eoogbe I was getting a Rendezvous 404 when I tried to use In this PR I'm just pulling Any help would be greatly appreciated! |
@lukesneeringer the |
|
||
return Operation.from_pb(response, self) | ||
return Operation.from_pb(operation_future.last_operation_data(), self) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@lukesneeringer do you have anything else for this? |
Yeah, I am writing an |
Okay, I am aborting that for now. The rabbit hole is going too far. Yes, you can merge this. |
…leapis#2965) * Update after googleapis#2962 to fill out http side and handle new LRO. * Update _OperationsFuture usage. * Mock OperationsClient.
* Update after #2962 to fill out http side and handle new LRO. * Update _OperationsFuture usage. * Mock OperationsClient.
* Update after #2962 to fill out http side and handle new LRO. * Update _OperationsFuture usage. * Mock OperationsClient.
* Update after #2962 to fill out http side and handle new LRO. * Update _OperationsFuture usage. * Mock OperationsClient.
This is an update to fill out the HTTP side of #2962 and I have a hacky but effective way to handle the new LRO.
I tried using the
OperationsClient
but for some reason it just kept 404ing. I'm not sure what I was doing wrong./cc @lukesneeringer