MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / remove

Method remove

src/client/typing/header.rs:111–115  ·  view source on GitHub ↗
(&mut self, py: Python, key: PyBackedStr)

Source from the content-addressed store, hash-verified

109 /// Remove a key-value pair from the header map.
110 #[pyo3(signature = (key))]
111 fn remove(&mut self, py: Python, key: PyBackedStr) {
112 py.allow_threads(|| {
113 self.0.remove::<&str>(key.as_ref());
114 })
115 }
116
117 /// Returns true if the map contains a value for the specified key.
118 #[pyo3(signature = (key))]

Callers 3

test_remove_and_delitemFunction · 0.95
test_edge_casesFunction · 0.95
__delitem__Method · 0.80

Calls

no outgoing calls

Tested by 2

test_remove_and_delitemFunction · 0.76
test_edge_casesFunction · 0.76