Skip to content

Commit

Permalink
Update dvc/render/match.py
Browse files Browse the repository at this point in the history
Co-authored-by: David de la Iglesia Castro <[email protected]>
  • Loading branch information
dberenbaum and daavoo committed Sep 14, 2023
1 parent e1599ae commit cdbed33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvc/render/match.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def __init__(self, data: Dict):
def group_definitions(self):
groups = defaultdict(list)
for rev, rev_content in self.data.items():
for _config_file, config_file_content in (
rev_content.get("definitions", {}).get("data", {}).items()
for config_file_content in (
rev_content.get("definitions", {}).get("data", {}).values()
):
for plot_id, plot_definition in config_file_content.get(
"data", {}
Expand Down

0 comments on commit cdbed33

Please sign in to comment.