Description
Currently when calling the conversational_analytics_chat the api returns a list of messages.
In system messages that include data-> query-> looker, the request doesn't return in the api the "view` field, which is mandatory in the Query object, resulting in the SDK throwing an exception:
TypeError: Query.init() missing 1 required keyword-only argument: 'view'
Example of a problematic systemMessage:
{'timestamp': '2026-05-06T12:48:13.090460Z', 'systemMessage': {'data': {'query': {'name': 'customer_summary_lls_segment_sample_values', 'looker': {'model': 'customer_loyalty_and_segmentation', 'explore': 'customer_summary', 'fields': ['customer_summary.lls_segment']}}}}, 'traceId': 'ff1d722b55bcda0e'}
It seems as though the view is returned as the explore field which is undocumented
Expected Behavior
Option A - Query object should allow view field to be None/Empty
Option B - API should always return the view value
SDK Language: Python
Description
Currently when calling the conversational_analytics_chat the api returns a list of messages.
In system messages that include
data->query->looker, the request doesn't return in the api the "view` field, which is mandatory in the Query object, resulting in the SDK throwing an exception:TypeError: Query.init() missing 1 required keyword-only argument: 'view'
Example of a problematic systemMessage:
{'timestamp': '2026-05-06T12:48:13.090460Z', 'systemMessage': {'data': {'query': {'name': 'customer_summary_lls_segment_sample_values', 'looker': {'model': 'customer_loyalty_and_segmentation', 'explore': 'customer_summary', 'fields': ['customer_summary.lls_segment']}}}}, 'traceId': 'ff1d722b55bcda0e'}It seems as though the
viewis returned as theexplorefield which is undocumentedExpected Behavior
Option A - Query object should allow
viewfield to be None/EmptyOption B - API should always return the
viewvalueSDK Language: Python