code: def read_legacy_context(
      context_root: Optional[pathlib.Path],
      includes: Iterable[pathlib.Path] = (),
      limit: int = constants.MAX_CONTEXT_SIZE,
  ) -> LegacyContext:
      return [
          v1file_utils.v1File_to_dict(f)
          for f in read_v1_context(context_root, includes, limit)
      ]
  
file_path: determined/harness/determined/common/context.py
imports: import collections
  import pathlib
  from typing import Any, Dict, Iterable, List, Optional
  from determined.common import constants, detignore, util, v1file_utils
  from determined.common.api import bindings
label_desc: Use image node_id 2 for calling a global function with example usage: read_legacy_context(context_root, includes, limit) and returns: unknown