def METHOD_NAME(alembic_config: typing.Any):
    if current_revision != "" and current_revision not in revision_history:
        raise Exception(
            f"Can't locate revision identified by '{current_revision}'"
        )
    alembic_config.print_stdout(current_revision)