22
33from __future__ import annotations
44
5- from typing_extensions import Literal
6-
75import httpx
86
97from ..types import style_extract_fonts_params , style_extract_styleguide_params
@@ -99,7 +97,6 @@ def extract_styleguide(
9997 * ,
10098 direct_url : str | Omit = omit ,
10199 domain : str | Omit = omit ,
102- prioritize : Literal ["speed" , "quality" ] | Omit = omit ,
103100 timeout_ms : int | Omit = omit ,
104101 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
105102 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -121,11 +118,6 @@ def extract_styleguide(
121118 domain: Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The
122119 domain will be automatically normalized and validated.
123120
124- prioritize: Optional parameter to prioritize screenshot capture for styleguide extraction.
125- If 'speed', optimizes for faster capture with basic quality. If 'quality',
126- optimizes for higher quality with longer wait times. Defaults to 'quality' if
127- not provided.
128-
129121 timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
130122 than this value, it will be aborted with a 408 status code. Maximum allowed
131123 value is 300000ms (5 minutes).
@@ -149,7 +141,6 @@ def extract_styleguide(
149141 {
150142 "direct_url" : direct_url ,
151143 "domain" : domain ,
152- "prioritize" : prioritize ,
153144 "timeout_ms" : timeout_ms ,
154145 },
155146 style_extract_styleguide_params .StyleExtractStyleguideParams ,
@@ -234,7 +225,6 @@ async def extract_styleguide(
234225 * ,
235226 direct_url : str | Omit = omit ,
236227 domain : str | Omit = omit ,
237- prioritize : Literal ["speed" , "quality" ] | Omit = omit ,
238228 timeout_ms : int | Omit = omit ,
239229 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
240230 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -256,11 +246,6 @@ async def extract_styleguide(
256246 domain: Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The
257247 domain will be automatically normalized and validated.
258248
259- prioritize: Optional parameter to prioritize screenshot capture for styleguide extraction.
260- If 'speed', optimizes for faster capture with basic quality. If 'quality',
261- optimizes for higher quality with longer wait times. Defaults to 'quality' if
262- not provided.
263-
264249 timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
265250 than this value, it will be aborted with a 408 status code. Maximum allowed
266251 value is 300000ms (5 minutes).
@@ -284,7 +269,6 @@ async def extract_styleguide(
284269 {
285270 "direct_url" : direct_url ,
286271 "domain" : domain ,
287- "prioritize" : prioritize ,
288272 "timeout_ms" : timeout_ms ,
289273 },
290274 style_extract_styleguide_params .StyleExtractStyleguideParams ,
0 commit comments