@@ -319,6 +319,7 @@ def query(
319319 question : str ,
320320 use_llm_matching : bool | NotGiven = NOT_GIVEN ,
321321 client_metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
322+ query_metadata : Optional [entry_query_params .QueryMetadata ] | NotGiven = NOT_GIVEN ,
322323 x_client_library_version : str | NotGiven = NOT_GIVEN ,
323324 x_integration_type : str | NotGiven = NOT_GIVEN ,
324325 x_source : str | NotGiven = NOT_GIVEN ,
@@ -334,6 +335,10 @@ def query(
334335 Query Entries Route
335336
336337 Args:
338+ client_metadata: Deprecated: Use query_metadata instead
339+
340+ query_metadata: Optional logging data that can be provided by the client.
341+
337342 extra_headers: Send extra headers
338343
339344 extra_query: Add additional query parameters to the request
@@ -361,6 +366,7 @@ def query(
361366 {
362367 "question" : question ,
363368 "client_metadata" : client_metadata ,
369+ "query_metadata" : query_metadata ,
364370 },
365371 entry_query_params .EntryQueryParams ,
366372 ),
@@ -708,6 +714,7 @@ async def query(
708714 question : str ,
709715 use_llm_matching : bool | NotGiven = NOT_GIVEN ,
710716 client_metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
717+ query_metadata : Optional [entry_query_params .QueryMetadata ] | NotGiven = NOT_GIVEN ,
711718 x_client_library_version : str | NotGiven = NOT_GIVEN ,
712719 x_integration_type : str | NotGiven = NOT_GIVEN ,
713720 x_source : str | NotGiven = NOT_GIVEN ,
@@ -723,6 +730,10 @@ async def query(
723730 Query Entries Route
724731
725732 Args:
733+ client_metadata: Deprecated: Use query_metadata instead
734+
735+ query_metadata: Optional logging data that can be provided by the client.
736+
726737 extra_headers: Send extra headers
727738
728739 extra_query: Add additional query parameters to the request
@@ -750,6 +761,7 @@ async def query(
750761 {
751762 "question" : question ,
752763 "client_metadata" : client_metadata ,
764+ "query_metadata" : query_metadata ,
753765 },
754766 entry_query_params .EntryQueryParams ,
755767 ),
0 commit comments