def tearDown(self) -> None: self.repo.structured_db.invalidate_caches() Run.set_props_cache_hint(None)
def traces(self, query: str = '') -> QueryTraceCollection: db = self.structured_db db.init_cache('runs_cache', db.runs, lambda run: run.hashname) Run.set_props_cache_hint('runs_cache') return QueryTraceCollection(repo=self, query=query)