MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / __len__

Method __len__

embodiedscan/utils/typing_config.py:185–190  ·  view source on GitHub ↗

int: The length of `PointData`.

(self)

Source from the content-addressed store, hash-verified

183 return new_data # type: ignore
184
185 def __len__(self) -> int:
186 """int: The length of `PointData`."""
187 if len(self._data_fields) > 0:
188 return len(self.values()[0])
189 else:
190 return 0
191
192
193# Type hint of config data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected