mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
config: enable data index caching by default
This commit is contained in:
@@ -264,8 +264,8 @@ SCHEMA = {
|
||||
# section for experimental features
|
||||
"feature": {
|
||||
Optional("machine", default=False): Bool,
|
||||
Optional("data_index_cache", default=False): Bool,
|
||||
# enabled by default. It's of no use, kept for backward compatibility.
|
||||
Optional("data_index_cache", default=False): Bool,
|
||||
Optional("parametrization", default=True): Bool,
|
||||
},
|
||||
"plots": {
|
||||
|
||||
@@ -381,9 +381,6 @@ class Repo:
|
||||
def data_index(self) -> Optional["DataIndex"]:
|
||||
from dvc_data.index import DataIndex
|
||||
|
||||
if not self.config["feature"].get("data_index_cache"):
|
||||
return None
|
||||
|
||||
if not self.index_db_dir:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user