Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def operation_waiter(sdk, operation_id, timeout):
operation_service = sdk.client(OperationServiceStub)
return OperationWaiter(operation_id, operation_service, timeout)