def file_cache(self): return NoCache( path=Path(os.devnull), max_age=0, disabled=True, use_outdated=True, simulation=True, )
def make(self) -> NoCache: return NoCache( path=self.path, max_age=self.max_age, disabled=self.disabled | self.agent_disabled, use_outdated=self.use_outdated, simulation=self.simulation, )
def file_cache(self, path): return NoCache( path=path, max_age=999, disabled=False, use_outdated=False, simulation=False, )