docs: def stamp_allowing_unusual_version_table(
          config: Config,
          revision: str,
          sql: bool = False,
          tag: str = None,
          version_table: str = DEFAULT_ALEMBIC_VERSION_TABLE) -> None:
      """
      Stamps the Alembic version table with the given revision; don't run any
      migrations.
  
      This function is a clone of ``alembic.command.stamp()``, but allowing
      ``version_table`` to change. See
      http://alembic.zzzcomputing.com/en/latest/api/commands.html#alembic.command.stamp
      """  # noqa
  
      script = ScriptDirectory.from_config(config)
  
      starting_rev = None
      if ":" in revision:
          if not sql:
              raise CommandError("Range revision not allowed")
          starting_rev, revision = revision.split(':', 2)
  
      # noinspection PyUnusedLocal
      def do_stamp(rev: str, context):
          # noinspection PyProtectedMember
          return script._stamp_revs(revision, rev)
  
      with EnvironmentContext(config,
                              script,
                              fn=do_stamp,
                              as_sql=sql,
                              destination_rev=revision,
                              starting_rev=starting_rev,
                              tag=tag,
                              version_table=version_table):
          script.run_env()