MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __repr__

Method __repr__

k_diffusion/utils.py:401–402  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

399 self.paths = sorted(path for path in self.root.rglob('*') if path.suffix.lower() in self.IMG_EXTENSIONS)
400
401 def __repr__(self):
402 return f'FolderOfImages(root="{self.root}", len: {len(self)})'
403
404 def __len__(self):
405 return len(self.paths)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected