MCPcopy
hub / github.com/tanelpoder/0xtools / reset

Method reset

xtop/core/navigation.py:260–271  ·  view source on GitHub ↗

Reset navigation to initial state

(self, group_cols: Optional[List[str]] = None)

Source from the content-addressed store, hash-verified

258 return raw
259
260 def reset(self, group_cols: Optional[List[str]] = None):
261 """Reset navigation to initial state"""
262 self.history.clear()
263 self.grouping_history.clear()
264 # Standardize group columns to lowercase
265 group_cols_lower = [self._canonical(col) for col in (group_cols or [])]
266 self.current_frame = NavigationFrame(
267 filters={},
268 exclude_filters={},
269 group_cols=group_cols_lower,
270 description="All data"
271 )
272
273 def drill_down(
274 self,

Calls 3

_canonicalMethod · 0.95
NavigationFrameClass · 0.85
clearMethod · 0.80