code: def follower_url_from_main(url, ident):
      """Create a connection URL for a dynamically-created test database.
  
      :param url: the connection URL specified when the test run was invoked
      :param ident: the pytest-xdist "worker identifier" to be used as the
                    database name
      """
      url = sa_url.make_url(url)
      return url.set(database=ident)
  
imports: from __future__ import annotations
  import collections
  import logging
  from .None import config
  from .None import engines
  from .None import util
  from ..None import exc
  from ..None import inspect
  from ..engine import url
  from ..sql import ddl
  from ..sql import schema
label_desc: Use image node_id 18 for calling a global function with example usage: follower_url_from_main(url, ident) and returns: url