def set_autocommit(self):
        if hasattr(self.connection.connection, "autocommit"):
            if callable(self.connection.connection.autocommit):
                self.connection.connection.autocommit(True)
            else:
                self.connection.connection.autocommit = True
        elif hasattr(self.connection.connection, "set_isolation_level"):
            self.connection.connection.set_isolation_level(0)
Get a prompt for the player.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/db/backends/creation.py/BaseDatabaseCreation.set_autocommit--crossover with--dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/player.py/Player.enqueue_prompt