@@ -52,6 +52,7 @@ def retrieve_naics(
5252 min_results : int | Omit = omit ,
5353 tags : SequenceNotStr [str ] | Omit = omit ,
5454 timeout_opts : industry_retrieve_naics_params .TimeoutOpts | Omit = omit ,
55+ zdr : Literal ["enabled" , "disabled" ] | Omit = omit ,
5556 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5657 # The extra values given here take precedence over values defined on the client or passed to this method.
5758 extra_headers : Headers | None = None ,
@@ -79,6 +80,12 @@ def retrieve_naics(
7980 timeoutOpts[milliseconds]=30000&timeoutOpts[behavior]=fail or a JSON-encoded
8081 timeoutOpts object.
8182
83+ zdr: Set to enabled to bypass shared caches and omit request and response content
84+ from retained usage logs. Asset uploads are skipped, so hosted image URLs are
85+ omitted. Requires zero data retention to be enabled for your organization
86+ (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
87+ Successful ZDR responses include X-Context-ZDR: true.
88+
8289 extra_headers: Send extra headers
8390
8491 extra_query: Add additional query parameters to the request
@@ -101,6 +108,7 @@ def retrieve_naics(
101108 "min_results" : min_results ,
102109 "tags" : tags ,
103110 "timeout_opts" : timeout_opts ,
111+ "zdr" : zdr ,
104112 },
105113 industry_retrieve_naics_params .IndustryRetrieveNaicsParams ,
106114 ),
@@ -117,6 +125,7 @@ def retrieve_sic(
117125 tags : SequenceNotStr [str ] | Omit = omit ,
118126 timeout_opts : industry_retrieve_sic_params .TimeoutOpts | Omit = omit ,
119127 type : Literal ["original_sic" , "latest_sec" ] | Omit = omit ,
128+ zdr : Literal ["enabled" , "disabled" ] | Omit = omit ,
120129 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
121130 # The extra values given here take precedence over values defined on the client or passed to this method.
122131 extra_headers : Headers | None = None ,
@@ -149,6 +158,12 @@ def retrieve_sic(
149158 Industrial Classification system; `latest_sec` uses the current SIC list as
150159 published by the SEC. Defaults to `original_sic`.
151160
161+ zdr: Set to enabled to bypass shared caches and omit request and response content
162+ from retained usage logs. Asset uploads are skipped, so hosted image URLs are
163+ omitted. Requires zero data retention to be enabled for your organization
164+ (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
165+ Successful ZDR responses include X-Context-ZDR: true.
166+
152167 extra_headers: Send extra headers
153168
154169 extra_query: Add additional query parameters to the request
@@ -172,6 +187,7 @@ def retrieve_sic(
172187 "tags" : tags ,
173188 "timeout_opts" : timeout_opts ,
174189 "type" : type ,
190+ "zdr" : zdr ,
175191 },
176192 industry_retrieve_sic_params .IndustryRetrieveSicParams ,
177193 ),
@@ -208,6 +224,7 @@ async def retrieve_naics(
208224 min_results : int | Omit = omit ,
209225 tags : SequenceNotStr [str ] | Omit = omit ,
210226 timeout_opts : industry_retrieve_naics_params .TimeoutOpts | Omit = omit ,
227+ zdr : Literal ["enabled" , "disabled" ] | Omit = omit ,
211228 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
212229 # The extra values given here take precedence over values defined on the client or passed to this method.
213230 extra_headers : Headers | None = None ,
@@ -235,6 +252,12 @@ async def retrieve_naics(
235252 timeoutOpts[milliseconds]=30000&timeoutOpts[behavior]=fail or a JSON-encoded
236253 timeoutOpts object.
237254
255+ zdr: Set to enabled to bypass shared caches and omit request and response content
256+ from retained usage logs. Asset uploads are skipped, so hosted image URLs are
257+ omitted. Requires zero data retention to be enabled for your organization
258+ (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
259+ Successful ZDR responses include X-Context-ZDR: true.
260+
238261 extra_headers: Send extra headers
239262
240263 extra_query: Add additional query parameters to the request
@@ -257,6 +280,7 @@ async def retrieve_naics(
257280 "min_results" : min_results ,
258281 "tags" : tags ,
259282 "timeout_opts" : timeout_opts ,
283+ "zdr" : zdr ,
260284 },
261285 industry_retrieve_naics_params .IndustryRetrieveNaicsParams ,
262286 ),
@@ -273,6 +297,7 @@ async def retrieve_sic(
273297 tags : SequenceNotStr [str ] | Omit = omit ,
274298 timeout_opts : industry_retrieve_sic_params .TimeoutOpts | Omit = omit ,
275299 type : Literal ["original_sic" , "latest_sec" ] | Omit = omit ,
300+ zdr : Literal ["enabled" , "disabled" ] | Omit = omit ,
276301 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
277302 # The extra values given here take precedence over values defined on the client or passed to this method.
278303 extra_headers : Headers | None = None ,
@@ -305,6 +330,12 @@ async def retrieve_sic(
305330 Industrial Classification system; `latest_sec` uses the current SIC list as
306331 published by the SEC. Defaults to `original_sic`.
307332
333+ zdr: Set to enabled to bypass shared caches and omit request and response content
334+ from retained usage logs. Asset uploads are skipped, so hosted image URLs are
335+ omitted. Requires zero data retention to be enabled for your organization
336+ (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED.
337+ Successful ZDR responses include X-Context-ZDR: true.
338+
308339 extra_headers: Send extra headers
309340
310341 extra_query: Add additional query parameters to the request
@@ -328,6 +359,7 @@ async def retrieve_sic(
328359 "tags" : tags ,
329360 "timeout_opts" : timeout_opts ,
330361 "type" : type ,
362+ "zdr" : zdr ,
331363 },
332364 industry_retrieve_sic_params .IndustryRetrieveSicParams ,
333365 ),
0 commit comments