diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index 5bbfdf4dc..310080b0c 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -37,6 +37,7 @@ class CmdDataPull(CmdDataBase): force=self.args.force, recursive=self.args.recursive, run_cache=self.args.run_cache, + glob=self.args.glob, ) self.log_summary(stats) except (CheckoutError, DvcException) as exc: diff --git a/tests/unit/command/test_data_sync.py b/tests/unit/command/test_data_sync.py index cd5c8253b..5f57eedd6 100644 --- a/tests/unit/command/test_data_sync.py +++ b/tests/unit/command/test_data_sync.py @@ -57,6 +57,7 @@ def test_pull(mocker): "--force", "--recursive", "--run-cache", + "--glob", ] ) assert cli_args.func == CmdDataPull @@ -77,6 +78,7 @@ def test_pull(mocker): force=True, recursive=True, run_cache=True, + glob=True, )