code: def __call__(self, entry: bytes) -> bytes:
      return self._url_re.sub(self._replace_url, entry)
  
file_path: dstack/src/dstack/_internal/core/services/logs.py
imports: import re
  import urllib.parse
  from typing import Dict, List, Optional
  from dstack._internal.core.models.runs import AppSpec
label_desc: Use image node_id 3 for calling the URLReplacer obj's underlying member method code with example usage: obj.__call__(entry) and returns: self