Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Feb 21, 2024
1 parent 16d6d47 commit b7c8683
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dvc/repo/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ def from_file(cls, repo: "Repo", path: str) -> "Index":
params={path: dvcfile.params} if dvcfile.params else {},
artifacts={path: dvcfile.artifacts} if dvcfile.artifacts else {},
datasets={path: dvcfile.datasets} if dvcfile.datasets else {},
datasets_lock={path: dvcfile.datasets_lock} if dvcfile.datasets else {},
datasets_lock={path: dvcfile.datasets_lock}
if dvcfile.datasets_lock
else {},
)

def update(self, stages: Iterable["Stage"]) -> "Index":
Expand Down

0 comments on commit b7c8683

Please sign in to comment.