MCPcopy Create free account
hub / github.com/dask/dask / __get__

Method __get__

dask/context.py:63–69  ·  view source on GitHub ↗
(self, instance, owner=None)

Source from the content-addressed store, hash-verified

61 self._falsey = falsey
62
63 def __get__(self, instance, owner=None):
64 if self._key in _globals:
65 if _globals[self._key]:
66 return _globals[self._key]
67 elif self._falsey is not None:
68 return self._falsey
69 return self._default

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected