-
Notifications
You must be signed in to change notification settings - Fork 319
debug_config availability in google-assistant-grpc python library #288
Comments
Yeah, it does seem like this flag is not in the current generated code, probably as it's from an older proto. It's really only useful in conjunction with Actions on Google, so it hasn't been a priority to include in Python. |
hey @Fleker thanks for the response! I need this because I would like to get better-structured information coming from the cards, which I know are in that json. Is there a new version of the python library planned? FYI I would like to access card information like you do here with your AssistResponse class and the cards object: I just realized you are a contributor in both repositories, so hopefully, you can help me out. |
Yeah it's just a matter of updating the Python bindings that are based on the gRPC protobuf. You can do it right now technically using a protobuf code gen, though to add it here it should also be fairly straightforward. |
@dmarvp actually we released a pre-version with that fields a few months ago: You should be able to install it with:
Looking forward your feedback! |
hi @proppy I actually did install that version before opening the ticket. I tried again just now to be sure and, for both for python 2.7 and 3.6, I took a look at the "embedded_assistant_pb2.py" file. Sadly, the debug_info field is not in there. |
@dmarvp you're right! This should be fixed with: #291 You can try it with:
See:
|
I'm getting the same here when attempting to pass debug_config in google assistant-grpc python library. any workarounds or updates for this please? |
hi @proppy and @Fleker , the fix on #291 had been working for us since Sep 2018, however, the debug_info has stopped returning anything in the last few days. It comes empty now. I was wondering if there have been changes in the assistant services that are causing this? As you know, we work with companies that rely on google assistant for testing their own actions and this is affecting their existing tests. |
@dmarvp which version of the API are you using? |
hi @proppy, I'm using v1alpha2 with the library from your comment on September 5, 2018. |
I get this error when trying to use the debug_config property on AssistConfig.
Here's the code where I try to set it up
It works correctly if I remove the debug_config property. Is it not available in version 0.2.0 of the python library? I've tried both with that version as well as 0.2.1.dev1 without success. If so, is there a planned release of the python library coming soon?
The text was updated successfully, but these errors were encountered: