code: def migrate(engine: Engine, revision: str) -> None:
      alembic_cfg = _get_alembic_config(
          engine.url.render_as_string(hide_password=False)
      )
      with engine.begin() as conn:
          alembic_cfg.attributes["connection"] = conn
          upgrade(alembic_cfg, revision)
  
file_path: mlflow/mlflow/server/auth/db/utils.py
imports: from pathlib import Path
  from alembic.command import upgrade
  from alembic.config import Config
  from alembic.migration import MigrationContext
  from alembic.script import ScriptDirectory
  from sqlalchemy.engine.base import Engine
label_desc: Use image node_id 3 for calling a global function with example usage: migrate(engine, revision) without return types