擅长:python、mysql、java
<p>Google Vision Intelligence与其他Google服务一样,使用gRPC与服务后端进行通信。不幸的是,VCR还不支持gRPC</p>
<p>测试期间VCR记录的唯一内容是OAuth令牌(检查VCR生成的磁带文件)。当它过期时,将导致<code>Unauthenticated</code>错误</p>
<h2>参考:</h2>
<ul>
<li><p>关于gRPC支持的功能请求
<a href="https://github.com/kevin1024/vcrpy/issues/560" rel="nofollow noreferrer">https://github.com/kevin1024/vcrpy/issues/560</a></p>
</li>
<li><p>用于gRPC(Ruby)的VCR<a href="https://github.com/btoews/gcr" rel="nofollow noreferrer">https://github.com/btoews/gcr</a></p>
</li>
</ul>