MCPcopy Create free account
hub / github.com/apify/impit / patch

Method patch

impit-python/src/async_client.rs:206–227  ·  view source on GitHub ↗
(
        &self,
        py: Python<'python>,
        url: String,
        content: Option<Vec<u8>>,
        data: Option<RequestBody>,
        headers: Option<HashMap<String, String>>,
        timeou

Source from the content-addressed store, hash-verified

204
205 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
206 pub fn patch<'python>(
207 &self,
208 py: Python<'python>,
209 url: String,
210 content: Option<Vec<u8>>,
211 data: Option<RequestBody>,
212 headers: Option<HashMap<String, String>>,
213 timeout: Option<Either<f64, &str>>,
214 force_http3: Option<bool>,
215 ) -> Result<pyo3::Bound<'python, PyAny>, PyErr> {
216 self.request(
217 py,
218 "patch",
219 url,
220 content,
221 data,
222 headers,
223 timeout,
224 force_http3,
225 Some(false),
226 )
227 }
228
229 #[pyo3(signature = (url, content=None, data=None, headers=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), force_http3=false))]
230 pub fn put<'python>(

Callers 1

requestMethod · 0.45

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected