(self, line)
return json.loads(line, object_hook=dispatch.message_decode)
Decodes a message from the MultiLangDaemon.
        :type line: str
        :param line: A message line that was delivered received from the MultiLangDaemon (e.g.
            '{"action" : "initialize", "shardId" : "shardId-000001"}')

        :rtype: amazon_kclpy.messages.MessageDispatcher
        :return: A callable action class that contains the action presented in the line
Decodes a message from the MultiLangDaemon.
        :type line: str
        :param line: A message line that was delivered received from the MultiLangDaemon (e.g.
            '{"action" : "initialize", "shardId" : "shardId-000001"}')
Decodes a message from the MultiLangDaemon . : type line : str : param line : A message line that was delivered received from the MultiLangDaemon ( e . g . { action : initialize shardId : shardId - 000001 } )
def load_action(self, line):
        """
        Decodes a message from the MultiLangDaemon.
        :type line: str
        :param line: A message line that was delivered received from the MultiLangDaemon (e.g.
            '{"action" : "initialize", "shardId" : "shardId-000001"}')

        :rtype: amazon_kclpy.messages.MessageDispatcher
        :return: A callable action class that contains the action presented in the line
        """
        return json.loads(line, object_hook=dispatch.message_decode)
def load_action ( self , line ) : return json . loads ( line , object_hook = dispatch . message_decode )