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

Method __call__

dask/tests/test_optimization.py:301–302  ·  view source on GitHub ↗
(self, a)

Source from the content-addressed store, hash-verified

299def test_inline_functions_non_hashable():
300 class NonHashableCallable:
301 def __call__(self, a):
302 return a + 1
303
304 def __hash__(self):
305 raise TypeError("Not hashable")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected