def config_source(): source = DictConfigSource() source.add_property("cache-dir", "/foo") return source
def config_source(config_cache_dir: Path) -> DictConfigSource: source = DictConfigSource() source.add_property("cache-dir", str(config_cache_dir)) return source
def config_source(): source = DictConfigSource() source.add_property("cache-dir", str(Path.cwd() / ".pypoetrycache")) return source