MCPcopy
hub / github.com/dask/dask / _register_entry_point_plugins

Function _register_entry_point_plugins

dask/sizeof.py:304–313  ·  view source on GitHub ↗

Register sizeof implementations exposed by the entry_point mechanism.

()

Source from the content-addressed store, hash-verified

302
303
304def _register_entry_point_plugins():
305 """Register sizeof implementations exposed by the entry_point mechanism."""
306 for entry_point in importlib_metadata.entry_points(group="dask.sizeof"):
307 registrar = entry_point.load()
308 try:
309 registrar(sizeof)
310 except Exception:
311 logger.exception(
312 f"Failed to register sizeof entry point {entry_point.name}"
313 )
314
315
316_register_entry_point_plugins()

Callers 1

sizeof.pyFile · 0.85

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…