MCPcopy
hub / github.com/huggingface/transformers / _get_library_name

Function _get_library_name

src/transformers/utils/logging.py:76–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74
75
76def _get_library_name() -> str:
77 return __name__.split(".")[0]
78
79
80def _get_library_root_logger() -> logging.Logger:

Callers 3

_get_library_root_loggerFunction · 0.85
get_loggerFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected