ProductCatalogItem.StockState enum invalid #14
Comments
@software-dov Could you take a look? The protos have the |
Hi - I'm trying to use this library and having issues with calling a
|
@matthiasa4 That is likely unrelated. Serialization for the messages works a bit differently on the newer clients. See https://proto-plus-python.readthedocs.io/en/latest/messages.html#serialization Something like |
@busunkim96 that did the trick! Thanks a lot :) |
@software-dov any thoughts on this one? |
This is fixed in https://github.com/googleapis/gapic-generator-python/releases/tag/v0.43.0. It should be resolved when the library is re-genenerated. |
I'm going to close this off as the root cause has been determined and the generator has been updated. |
IN_STOCK
andSTOCK_STATE_UNSPECIFIED
both have a value of 0, without specifyingallow_alias=True
. This is causing deployment errors with protobuf.The workaround is to specify no binary in requirements.txt:
python-recommendations-ai/google/cloud/recommendationengine_v1beta1/types/catalog.py
Line 167 in 90a06d1
Error
Docs
https://developers.google.com/protocol-buffers/docs/proto3
The text was updated successfully, but these errors were encountered: