@need_connected
    def prepare(self, params=None):

        if isinstance( params, tuple ) or isinstance( params, list ):
            try:
                self._user = params[0]
                self._pass = params[1]
            except __HOLE__:
                # Use default for non existent indexes
                pass
        self._append( (FIELD_STRINGS, [self._user, self._pass]) )
        return super( ShutdownMessage, self ).prepare()
dataset/ETHPy150Open mogui/pyorient/pyorient/messages/connection.py/ShutdownMessage.prepare