code: def __init__(self, func, args, kwds):
      self.gen = func(*args, **kwds)
      self.func, self.args, self.kwds = (  # type: ignore[assignment]
          func,
          args,
          kwds,
      )
  
file_path: dvc/dvc/api/data.py
imports: from contextlib import _GeneratorContextManager
  from contextlib import contextmanager
  from typing import Any, Dict, Optional
  from funcy import reraise
  from dvc.exceptions import FileMissingError, OutputNotFoundError, PathMissingError
  from dvc.repo import Repo
label_desc: Use image node_id 1 to create a new _OpenContextManager object from inherited base classes: GCM with example: obj = _OpenContextManager(func, args, kwds)