def handle_cmd(self, command, application):
        """Handle running a given dot command from a user.

        :type command: str
        :param command: The full dot command string, e.g. ``.edit``,
            of ``.profile prod``.

        :type application: AWSShell
        :param application: The application object.

        """
        parts = command.split()
        cmd_name = parts[0][1:]
        if self.HANDLER_CLASSES not in cmd_name:
            self._unknown_cmd(parts, application)
        else:
            # Note we expect the class to support no-arg
            # instantiation.
            return self.HANDLER_CLASSES[cmd_name]().run(parts, application)
dataset/ETHPy150Open awslabs/aws-shell/awsshell/app.py/DotCommandHandler.handle_cmd/swapped operands of `not in`