Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ register_decimal
Function
register_decimal
dask/tests/test_utils.py:205–208 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
203
204
@foo.register_lazy(
"decimal"
)
205
def
register_decimal():
206
import
decimal
207
208
foo.register(decimal.Decimal, foo_dec)
209
210
# This test needs to be *before* any other calls
211
assert foo.dispatch(decimal.Decimal) == foo_dec
Callers
nothing calls this directly
Calls
1
register
Method · 0.45
Tested by
no test coverage detected