MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / LibrarySpec

Class LibrarySpec

deeplabcut/core/debug/debug_logger.py:268–280  ·  view source on GitHub ↗

Small description of a library to report.

Source from the content-addressed store, hash-verified

266
267@dataclass(frozen=True)
268class LibrarySpec:
269 """Small description of a library to report."""
270
271 key: str
272 dist_name: str | None = None
273 module_name: str | None = None
274 prefer_module_version: bool = False
275
276 def resolved_dist_name(self) -> str:
277 return self.dist_name or self.key
278
279 def resolved_module_name(self) -> str:
280 return self.module_name or self.key
281
282
283DLC_CORE_LIBS: tuple[LibrarySpec, ...] = (

Calls

no outgoing calls