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

Method __len__

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

Source from the content-addressed store, hash-verified

402 return f'FolderOfImages(root="{self.root}", len: {len(self)})'
403
404 def __len__(self):
405 return len(self.paths)
406
407 def __getitem__(self, key):
408 path = self.paths[key]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected