This repository was archived by the owner on Dec 17, 2023. It is now read-only.
AttributeError: 'dict' object has no attribute 'index' #598
Labels
api: dialogflow
Issues related to the googleapis/python-dialogflow API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
3.11
22.3.1
google-cloud-dialogflow
version:2.16.1
Steps to reproduce
to reproduce to install python3.11 and import the agent:
Traceback
from google.cloud.dialogflow_v2beta1.types import agent File "/usr/local/lib/python3.11/dist-packages/google/cloud/dialogflow_v2beta1/types/init.py", line 103, in from .document import ( File "/usr/local/lib/python3.11/dist-packages/google/cloud/dialogflow_v2beta1/types/document.py", line 44, in class Document(proto.Message): File "/usr/local/lib/python3.11/dist-packages/google/cloud/dialogflow_v2beta1/types/document.py", line 135, in Document class KnowledgeType(proto.Enum): File "/usr/local/lib/python3.11/dist-packages/proto/enums.py", line 61, in new idx = attrs._member_names.index(pb_options) ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'dict' object has no attribute 'index'
The text was updated successfully, but these errors were encountered: