code: def loads_from(stage, s_list, erepo=None, fs_config=None, db=None):
      assert isinstance(s_list, list)
      info = {RepoDependency.PARAM_REPO: erepo} if erepo else {}
      if db:
          info.update({"db": db})
      return [
          _get(
              stage,
              s,
              info.copy(),
              fs_config=fs_config,
          )
          for s in s_list
      ]
  
file_path: dvc/dvc/dependency/__init__.py
imports: from collections import defaultdict
  from typing import Any, Dict, List, Mapping, Set
  from dvc.output import ARTIFACT_SCHEMA, DIR_FILES_SCHEMA, Output
  from .base import Dependency
  from .db import DbDependency
  from .param import ParamsDependency
  from .repo import RepoDependency
label_desc: Use image node_id 3 for calling a global function with example usage: loads_from(stage, s_list, erepo, fs_config, db) and returns: unknown