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

Method contains_key

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

Source from the content-addressed store, hash-verified

117 /// Returns true if the map contains a value for the specified key.
118 #[pyo3(signature = (key))]
119 fn contains_key(&self, py: Python, key: PyBackedStr) -> bool {
120 py.allow_threads(|| self.0.contains_key::<&str>(key.as_ref()))
121 }
122
123 /// Returns key-value pairs in the order they were added.
124 fn items(&self) -> HeaderMapItemsIter {

Callers 3

test_insert_and_getFunction · 0.95
test_remove_and_delitemFunction · 0.95
__contains__Method · 0.80

Calls

no outgoing calls

Tested by 2

test_insert_and_getFunction · 0.76
test_remove_and_delitemFunction · 0.76