code: def __str__(self):
      from dvc.utils.humanize import truncate_text
  
      return truncate_text(self.sql or "", 50)
  
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 4 for calling the DbDependency obj's underlying member method code with example usage: obj.__str__() and returns: truncate_text