MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __getattr__

Method __getattr__

sat/data_multi.py:64–66  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

62
63 # # Delegate attribute and method calls to the dataset instance
64 def __getattr__(self, name):
65 # Only get attributes from the dataset instance if they aren’t found in MultiSourceDataset
66 return getattr(self.dataset, name)
67
68 def __len__(self):
69 return len(self.dataset)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected