Skip to content

Commit

Permalink
lazily import
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Feb 21, 2024
1 parent 0b3a065 commit 6df9f0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dvc/commands/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from dvc.cli.command import CmdBase
from dvc.cli.utils import append_doc_link
from dvc.log import logger
from dvc.repo.datasets import URLDatasetLock

if TYPE_CHECKING:
from rich.text import Text
Expand Down Expand Up @@ -74,7 +73,7 @@ def run(self):
class CmdDatasetUpdate(CmdBase):
def display(self, dataset: "Dataset", new: "Dataset"):
from dvc.commands.checkout import log_changes
from dvc.repo.datasets import DVCDatasetLock, DVCXDatasetLock
from dvc.repo.datasets import DVCDatasetLock, DVCXDatasetLock, URLDatasetLock
from dvc.ui import ui

if not dataset.lock:
Expand Down

0 comments on commit 6df9f0e

Please sign in to comment.