yandex-cloud / cloudapi

Interface definitions of Yandex.Cloud API
MIT License
77 stars 33 forks source link

fix (yandex_cloud_api): rm (yandex.cloud.api.tools.field) as unknow o… #2

Closed kudep closed 4 years ago

kudep commented 4 years ago

When i was passing your guide in the second step: python -m grpc_tools.protoc -I . -I third_party/googleapis --python_out=output --grpc_python_out=output google/api/http.proto google/api/annotations.proto yandex/cloud/api/operation.proto google/rpc/status.proto yandex/cloud/operation/operation.proto yandex/cloud/ai/stt/v2/stt_service.proto I got an exception, see below: yandex/cloud/ai/stt/v2/stt_service.proto:105:25: Option "(yandex.cloud.api.tools.field)" unknown. Ensure that your proto definition file imports the proto which defines the option. yandex/cloud/ai/stt/v2/stt_service.proto:113:25: Option "(yandex.cloud.api.tools.field)" unknown. Ensure that your proto definition file imports the proto which defines the option. After deleting these lines everything works.

MAnyKey commented 4 years ago

Thanks for the pull request. Our API publishing machine blundered on this.