def make(self) -> DefaultAgentFileCache: return DefaultAgentFileCache( 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): return DefaultAgentFileCache( path=Path(os.devnull), max_age=0, disabled=True, use_outdated=True, simulation=False, )