code: def __init__(self, stage: "Stage", info, *args, **kwargs):
      super().__init__(stage, info, *args, **kwargs)
      self.db_info: Dict[str, str] = self.info.get(self.PARAM_DB, {})
      self.connection = self.db_info.get(self.PARAM_CONNECTION)
  
imports: from contextlib import contextmanager
  from typing import TYPE_CHECKING, Any, Callable, Dict, Iterator, Optional
  from funcy import compact, log_durations
  from dvc.exceptions import DvcException
  from dvc.log import logger
  from .base import Dependency
label_desc: Use image node_id 1 to create a new DbDependency object from inherited base classes: AbstractDependency with example: obj = DbDependency(stage, info)