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

Function get_meta_library

dask/utils.py:2240–2244  ·  view source on GitHub ↗
(like)

Source from the content-addressed store, hash-verified

2238
2239
2240def get_meta_library(like):
2241 if hasattr(like, "_meta"):
2242 like = like._meta
2243
2244 return import_module(typename(like).partition(".")[0])
2245
2246
2247class shorten_traceback:

Callers 5

operationMethod · 0.90
operationMethod · 0.90
to_datetimeFunction · 0.90
test_get_meta_libraryFunction · 0.90

Calls 1

typenameFunction · 0.85

Tested by 2

test_get_meta_libraryFunction · 0.72