MCPcopy Create free account
hub / github.com/dcharatan/flowmap / __init__

Method __init__

flowmap/dataset/validation_wrapper.py:16–20  ·  view source on GitHub ↗
(self, dataset: Dataset, length: int)

Source from the content-addressed store, hash-verified

14 length: int
15
16 def __init__(self, dataset: Dataset, length: int) -> None:
17 super().__init__()
18 self.dataset = dataset
19 self.length = length
20 self.dataset_iterator = None
21
22 def __len__(self):
23 return self.length

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected