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

Method __aexit__

impit-python/src/async_client.rs:33–41  ·  view source on GitHub ↗
(
        &self,
        _exc_type: &crate::Bound<'_, crate::PyAny>,
        _exc_value: &crate::Bound<'_, crate::PyAny>,
        _traceback: &crate::Bound<'_, crate::PyAny>,
        py: Python<'pytho

Source from the content-addressed store, hash-verified

31 }
32
33 pub fn __aexit__<'python>(
34 &self,
35 _exc_type: &crate::Bound<'_, crate::PyAny>,
36 _exc_value: &crate::Bound<'_, crate::PyAny>,
37 _traceback: &crate::Bound<'_, crate::PyAny>,
38 py: Python<'python>,
39 ) -> Result<pyo3::Bound<'python, pyo3::PyAny>, pyo3::PyErr> {
40 pyo3_async_runtimes::tokio::future_into_py::<_, ()>(py, async { Ok(()) })
41 }
42
43 #[new]
44 #[pyo3(signature = (browser=None, http3=None, proxy=None, timeout=Some(Right(USE_CLIENT_DEFAULT_SENTINEL)), verify=None, default_encoding=None, follow_redirects=None, max_redirects=Some(20), cookie_jar=None, cookies=None, headers=None, local_address=None))]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected