code: def test_pull_partial_import(tmp_dir, dvc, local_workspace):
      local_workspace.gen("file", "file content")
      dst = tmp_dir / "file"
      stage = dvc.imp_url(
          "remote://workspace/file", os.fspath(dst), no_download=True
      )
  
      result = dvc.pull("file")
      assert result["fetched"] == 1
      assert dst.exists()
  
      assert (
          stage.outs[0].get_hash().value
          == "d10b4c3ff123b26dc068d43a8bef2d23"
      )
  
imports: import logging
  import os
  import shutil
  import pytest
  from flaky.flaky_decorator import flaky
  import dvc_data
  from dvc.cli import main
  from dvc.exceptions import CheckoutError
  from dvc.repo.open_repo import clean_repos
  from dvc.stage.exceptions import StageNotFound
  from dvc.testing.remote_tests import TestRemote
  from dvc.utils.fs import remove
  from dvc_data.hashfile.db import HashFileDB
  from dvc_data.hashfile.db.local import LocalHashFileDB
  from dvc_data.hashfile.hash_info import HashInfo
label_desc: Use image node_id 9 for calling a global function with example usage: test_pull_partial_import(tmp_dir, dvc, local_workspace) without return types