Beispiel #1
0
 def tearDown(self) -> None:
     self.repo.structured_db.invalidate_caches()
     Run.set_props_cache_hint(None)
Beispiel #2
0
 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)