@classmethod<EOL><INDENT>def _get_attributes(cls, params):<DEDENT>
if not params:<EOL><INDENT>return None<EOL><DEDENT>attributes = dict()<EOL>for param in params:<EOL><INDENT>infos = param.split("<STR_LIT:=>", <NUM_LIT:1>)<EOL>if len(infos) != <NUM_LIT:2>:<EOL><INDENT>Printer.raise_error("<STR_LIT>" % param)<EOL><DEDENT>attribute_name = Utils.get_python_name(infos[<NUM_LIT:0>])<EOL>attributes[attribute_name] = infos[<NUM_LIT:1>]<EOL><DEDENT>return attributes<EOL>
Transforms a list of Key=Value
            to a dictionary of attributes

            Args:
                params: list of Key=Value

            Returns:
                A dict