code: def path(self, path, format=None):
      if not isinstance(path, PrefixedUrlString):
          if path.startswith("/"):
              path = path[1:]
          path = self.ds.setting("base_url") + path
      if format is not None:
          path = path_with_format(path=path, format=format)
      return PrefixedUrlString(path)
  
file_path: datasette/datasette/url_builder.py
imports: from .utils import tilde_encode, path_with_format, HASH_LENGTH, PrefixedUrlString
  import urllib
label_desc: Use image node_id 2 for calling the Urls obj's underlying member method code with example usage: obj.path(path, format) and returns: PrefixedUrlString