I have a google.api_core.operation.Operation object from
operation = client.async_batch_annotate_files(requests=[async_request])
I would like to check the status of that operation. I'm trying to use google.api_core.operations_v1.AbstractOperationsClient. It has the method, get_operation, which should return the status.
client=AbstractOperationsClient()
res=client.get_operation(operation.operation.name)
I get an error when that is run:
ValueError: Request {'name': '*redacted*'} does not match any URL path template in available HttpRule's ['/v1/{name=operations/**}']
The error is generated with this code, I believe.