code: def test_partial_import_pull(tmp_dir, scm, dvc, local_workspace):
      local_workspace.gen("file", "file content")
      dst = tmp_dir / "file"
      dvc.imp_url(
          "remote://workspace/file", os.fspath(dst), no_download=True
      )
  
      dvc.pull(["file.dvc"])
  
      assert dst.exists()
  
      dvc.commit(force=True)
  
      stage = load_file(dvc, "file.dvc").stage
      assert (
          stage.outs[0].hash_info.value
          == "d10b4c3ff123b26dc068d43a8bef2d23"
      )
      assert stage.outs[0].meta.size == 12
  
imports: import os
  import textwrap
  from uuid import uuid4
  import pytest
  from dvc.cli import main
  from dvc.dependency.base import Dependency, DependencyDoesNotExistError
  from dvc.dvcfile import load_file
  from dvc.exceptions import InvalidArgumentError
  from dvc.stage import Stage
  from dvc.testing.workspace_tests import TestImport
  from tests.utils import get_gitignore_content
label_desc: Use image node_id 15 for calling a global function with example usage: test_partial_import_pull(tmp_dir, scm, dvc, local_workspace) without return types