def func(self):

        caller = self.caller
        if not self.args and 'edit' not in self.switches:
            caller.msg("Usage: @desc [<obj> =] <description>")
            return

        if 'edit' in self.switches:
            self.edit_handler()
            return

        if self.rhs:
            # We have an =
            obj = caller.search(self.lhs)
            if not obj:
                return
            desc = self.rhs
        else:
            obj = caller.location or self.msg("{rYou can't describe oblivion.{n")
            if not obj:
                return
            desc = self.args

        obj.db.desc = desc
        caller.msg("The description was set on %s." % obj.get_display_name(caller))
This should only be called by the shutdown trigger.
dataset/ETHPy150Open evennia/evennia/evennia/commands/default/building.py/CmdDesc.func--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/enterprise/adbapi.py/ConnectionPool.finalClose