code: def history(config, revision_range, **kwargs):
      
      with alembic_lock(
          config.registry["sqlalchemy.engine"], config.alembic_config()
      ) as alembic_config:
          alembic.command.history(alembic_config, revision_range, **kwargs)
docs: List changeset scripts in chronological order.