code: def database_url_sync() -> str:
      """
      Returns a "sync" version of the configured database URL. This may be useful in cases we don't need
      an asynchronous connection, like running database migration inside the alembic script.
      """
      database_url = make_url(settings.database_url)
      return settings.database_url.replace(
          f"+{database_url.get_driver_name()}", ""
      )
  
file_path: argilla/src/argilla/server/database.py
imports: import os
  from collections import OrderedDict
  from sqlite3 import Connection
  from typing import TYPE_CHECKING, Generator
  from sqlalchemy import event, make_url
  from sqlalchemy.engine import Engine
  from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
  import argilla
  from argilla.server.settings import settings
label_desc: Use image node_id 2 for calling a global function with example usage: database_url_sync() and returns: settings