Skip to content

Commit

Permalink
move imports to top-level
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Mar 18, 2023
1 parent c823786 commit 9303098
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dvc/render/match.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import dpath
import dpath.options
from funcy import last
from funcy import get_in, last

from dvc.repo.plots import _normpath, infer_data_sources
from dvc.utils.plots import get_plot_id
Expand Down Expand Up @@ -93,8 +93,6 @@ def match_defs_renderers( # noqa: C901, PLR0912
if templates_dir is not None:
props["template_dir"] = templates_dir

from funcy import get_in

for rev, inner_id, plot_definition in group:
plot_sources = infer_data_sources(inner_id, plot_definition)
definitions_data = plots_data.get_definition_data(plot_sources, rev)
Expand Down

0 comments on commit 9303098

Please sign in to comment.