code: def test_load_remote_files_from_pipeline(dvc):
      stage = Stage(dvc)
      (out,) = output.load_from_pipeline(
          stage,
          [{"s3://dvc-test/file.txt": {"cache": False}}],
          typ="metrics",
      )
      assert isinstance(out, Output)
      assert isinstance(out.fs, S3FileSystem)
      assert not out.plot
      assert out.metric
      assert not out.persist
      assert not out.hash_info
  
file_path: dvc/tests/unit/output/test_load.py
imports: import pytest
  from dvc_s3 import S3FileSystem
  from dvc import output
  from dvc.fs import LocalFileSystem
  from dvc.output import Output
  from dvc.stage import Stage
label_desc: Use image node_id 3 for calling a global function with example usage: test_load_remote_files_from_pipeline(dvc) without return types