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:204–207 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
202
203
@foo.register_lazy(
"decimal"
)
204
def
register_decimal():
205
import
decimal
206
207
foo.register(decimal.Decimal, foo_dec)
208
209
# This test needs to be *before* any other calls
210
assert foo.dispatch(decimal.Decimal) == foo_dec
Callers
nothing calls this directly
Calls
1
register
Method · 0.45
Tested by
no test coverage detected