MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / __init__

Method __init__

pymongo/common.py:980–983  ·  view source on GitHub ↗
(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

978
979class _CaseInsensitiveDictionary(MutableMapping[str, Any]):
980 def __init__(self, *args: Any, **kwargs: Any):
981 self.__casedkeys: dict[str, Any] = {}
982 self.__data: dict[str, Any] = {}
983 self.update(dict(*args, **kwargs))
984
985 def __contains__(self, key: str) -> bool: # type: ignore[override]
986 return key.lower() in self.__data

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected