MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / from_dict

Method from_dict

couchbase/exceptions.py:64–68  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

62
63 @staticmethod
64 def from_dict(**kwargs):
65 # type: (...) -> ErrorContext
66 klass = kwargs.get("context_type", "ErrorContext")
67 cl = getattr(sys.modules[__name__], klass)
68 return cl(**kwargs)
69
70 def _get_base(self):
71 return self._base

Callers 2

error_contextMethod · 0.80
build_exceptionMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected