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

Function get_meta_library

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

Source from the content-addressed store, hash-verified

2244
2245
2246def get_meta_library(like):
2247 if hasattr(like, "_meta"):
2248 like = like._meta
2249
2250 return import_module(typename(like).partition(".")[0])
2251
2252
2253class 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