@@ -319,6 +319,7 @@ def query(
319
319
question : str ,
320
320
use_llm_matching : bool | NotGiven = NOT_GIVEN ,
321
321
client_metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
322
+ query_metadata : Optional [entry_query_params .QueryMetadata ] | NotGiven = NOT_GIVEN ,
322
323
x_client_library_version : str | NotGiven = NOT_GIVEN ,
323
324
x_integration_type : str | NotGiven = NOT_GIVEN ,
324
325
x_source : str | NotGiven = NOT_GIVEN ,
@@ -334,6 +335,10 @@ def query(
334
335
Query Entries Route
335
336
336
337
Args:
338
+ client_metadata: Deprecated: Use query_metadata instead
339
+
340
+ query_metadata: Optional logging data that can be provided by the client.
341
+
337
342
extra_headers: Send extra headers
338
343
339
344
extra_query: Add additional query parameters to the request
@@ -361,6 +366,7 @@ def query(
361
366
{
362
367
"question" : question ,
363
368
"client_metadata" : client_metadata ,
369
+ "query_metadata" : query_metadata ,
364
370
},
365
371
entry_query_params .EntryQueryParams ,
366
372
),
@@ -708,6 +714,7 @@ async def query(
708
714
question : str ,
709
715
use_llm_matching : bool | NotGiven = NOT_GIVEN ,
710
716
client_metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
717
+ query_metadata : Optional [entry_query_params .QueryMetadata ] | NotGiven = NOT_GIVEN ,
711
718
x_client_library_version : str | NotGiven = NOT_GIVEN ,
712
719
x_integration_type : str | NotGiven = NOT_GIVEN ,
713
720
x_source : str | NotGiven = NOT_GIVEN ,
@@ -723,6 +730,10 @@ async def query(
723
730
Query Entries Route
724
731
725
732
Args:
733
+ client_metadata: Deprecated: Use query_metadata instead
734
+
735
+ query_metadata: Optional logging data that can be provided by the client.
736
+
726
737
extra_headers: Send extra headers
727
738
728
739
extra_query: Add additional query parameters to the request
@@ -750,6 +761,7 @@ async def query(
750
761
{
751
762
"question" : question ,
752
763
"client_metadata" : client_metadata ,
764
+ "query_metadata" : query_metadata ,
753
765
},
754
766
entry_query_params .EntryQueryParams ,
755
767
),
0 commit comments