22
33from __future__ import annotations
44
5- from typing import Dict
6- from typing_extensions import Literal
7-
85import httpx
96
107from ..types import fetch_api_create_params
@@ -50,9 +47,7 @@ def create(
5047 url : str ,
5148 allow_insecure_ssl : bool | Omit = omit ,
5249 allow_redirects : bool | Omit = omit ,
53- format : Literal ["raw" , "json" , "markdown" ] | Omit = omit ,
5450 proxies : bool | Omit = omit ,
55- schema : Dict [str , object ] | Omit = omit ,
5651 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5752 # The extra values given here take precedence over values defined on the client or passed to this method.
5853 extra_headers : Headers | None = None ,
@@ -70,15 +65,8 @@ def create(
7065
7166 allow_redirects: Whether to follow HTTP redirects
7267
73- format: Output format for the response content. `raw` (default) returns the response
74- body unchanged; `json` returns structured data (requires `schema`); `markdown`
75- returns the page as markdown.
76-
7768 proxies: Whether to enable proxy support for the request
7869
79- schema: JSON Schema describing the desired structure of the response. Only used when
80- `format` is `json`.
81-
8270 extra_headers: Send extra headers
8371
8472 extra_query: Add additional query parameters to the request
@@ -94,9 +82,7 @@ def create(
9482 "url" : url ,
9583 "allow_insecure_ssl" : allow_insecure_ssl ,
9684 "allow_redirects" : allow_redirects ,
97- "format" : format ,
9885 "proxies" : proxies ,
99- "schema" : schema ,
10086 },
10187 fetch_api_create_params .FetchAPICreateParams ,
10288 ),
@@ -133,9 +119,7 @@ async def create(
133119 url : str ,
134120 allow_insecure_ssl : bool | Omit = omit ,
135121 allow_redirects : bool | Omit = omit ,
136- format : Literal ["raw" , "json" , "markdown" ] | Omit = omit ,
137122 proxies : bool | Omit = omit ,
138- schema : Dict [str , object ] | Omit = omit ,
139123 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
140124 # The extra values given here take precedence over values defined on the client or passed to this method.
141125 extra_headers : Headers | None = None ,
@@ -153,15 +137,8 @@ async def create(
153137
154138 allow_redirects: Whether to follow HTTP redirects
155139
156- format: Output format for the response content. `raw` (default) returns the response
157- body unchanged; `json` returns structured data (requires `schema`); `markdown`
158- returns the page as markdown.
159-
160140 proxies: Whether to enable proxy support for the request
161141
162- schema: JSON Schema describing the desired structure of the response. Only used when
163- `format` is `json`.
164-
165142 extra_headers: Send extra headers
166143
167144 extra_query: Add additional query parameters to the request
@@ -177,9 +154,7 @@ async def create(
177154 "url" : url ,
178155 "allow_insecure_ssl" : allow_insecure_ssl ,
179156 "allow_redirects" : allow_redirects ,
180- "format" : format ,
181157 "proxies" : proxies ,
182- "schema" : schema ,
183158 },
184159 fetch_api_create_params .FetchAPICreateParams ,
185160 ),
0 commit comments