code: def _migrate_single(self, conn, migration):
          
          with contextlib.ExitStack() as stack:
              for wrapper in self._wrappers:
                  stack.enter_context(wrapper(conn))
              migration.func(conn)
docs: Perform a single migration starting from the given version.