@@ -48,18 +48,10 @@ def create(
4848 self ,
4949 * ,
5050 query : Union [str , SequenceNotStr [str ]],
51- country : Optional [str ] | NotGiven = NOT_GIVEN ,
52- last_updated_after_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
53- last_updated_before_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
5451 max_results : int | NotGiven = NOT_GIVEN ,
5552 max_tokens : int | NotGiven = NOT_GIVEN ,
5653 max_tokens_per_page : int | NotGiven = NOT_GIVEN ,
57- safe_search : Optional [bool ] | NotGiven = NOT_GIVEN ,
58- search_after_date_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
59- search_before_date_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
60- search_domain_filter : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
6154 search_mode : Optional [Literal ["web" , "academic" , "sec" ]] | NotGiven = NOT_GIVEN ,
62- search_recency_filter : Optional [Literal ["hour" , "day" , "week" , "month" , "year" ]] | NotGiven = NOT_GIVEN ,
6355 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6456 # The extra values given here take precedence over values defined on the client or passed to this method.
6557 extra_headers : Headers | None = None ,
@@ -84,18 +76,10 @@ def create(
8476 body = maybe_transform (
8577 {
8678 "query" : query ,
87- "country" : country ,
88- "last_updated_after_filter" : last_updated_after_filter ,
89- "last_updated_before_filter" : last_updated_before_filter ,
9079 "max_results" : max_results ,
9180 "max_tokens" : max_tokens ,
9281 "max_tokens_per_page" : max_tokens_per_page ,
93- "safe_search" : safe_search ,
94- "search_after_date_filter" : search_after_date_filter ,
95- "search_before_date_filter" : search_before_date_filter ,
96- "search_domain_filter" : search_domain_filter ,
9782 "search_mode" : search_mode ,
98- "search_recency_filter" : search_recency_filter ,
9983 },
10084 search_create_params .SearchCreateParams ,
10185 ),
@@ -130,18 +114,10 @@ async def create(
130114 self ,
131115 * ,
132116 query : Union [str , SequenceNotStr [str ]],
133- country : Optional [str ] | NotGiven = NOT_GIVEN ,
134- last_updated_after_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
135- last_updated_before_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
136117 max_results : int | NotGiven = NOT_GIVEN ,
137118 max_tokens : int | NotGiven = NOT_GIVEN ,
138119 max_tokens_per_page : int | NotGiven = NOT_GIVEN ,
139- safe_search : Optional [bool ] | NotGiven = NOT_GIVEN ,
140- search_after_date_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
141- search_before_date_filter : Optional [str ] | NotGiven = NOT_GIVEN ,
142- search_domain_filter : Optional [SequenceNotStr [str ]] | NotGiven = NOT_GIVEN ,
143120 search_mode : Optional [Literal ["web" , "academic" , "sec" ]] | NotGiven = NOT_GIVEN ,
144- search_recency_filter : Optional [Literal ["hour" , "day" , "week" , "month" , "year" ]] | NotGiven = NOT_GIVEN ,
145121 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
146122 # The extra values given here take precedence over values defined on the client or passed to this method.
147123 extra_headers : Headers | None = None ,
@@ -166,18 +142,10 @@ async def create(
166142 body = await async_maybe_transform (
167143 {
168144 "query" : query ,
169- "country" : country ,
170- "last_updated_after_filter" : last_updated_after_filter ,
171- "last_updated_before_filter" : last_updated_before_filter ,
172145 "max_results" : max_results ,
173146 "max_tokens" : max_tokens ,
174147 "max_tokens_per_page" : max_tokens_per_page ,
175- "safe_search" : safe_search ,
176- "search_after_date_filter" : search_after_date_filter ,
177- "search_before_date_filter" : search_before_date_filter ,
178- "search_domain_filter" : search_domain_filter ,
179148 "search_mode" : search_mode ,
180- "search_recency_filter" : search_recency_filter ,
181149 },
182150 search_create_params .SearchCreateParams ,
183151 ),
0 commit comments