def __init__(self, id_, type_, **params):
        """
        Constructor.

        See instance variable documentation for more details on parameters.
        """

        self.id = id_
        """ ID of the component.
        @type: str """

        self.type = type_
        """ Type of the component.
        @type: str """

        self.parameters = dict()
        """ Dictionary of parameter values.
        @type: str """
        for key in params.keys():
            self.parameters[key] = params[key]

        self.children = list()
        """ List of child components.
        @type: list(lems.model.component.Component) """
        
        self.parent_id = None
        """ Optional id of parent
        @type: str """
def __init__ ( self , id_ , type_ , ** params ) : self . id = id_ self . type = type_ self . parameters = dict ( ) for key in params . keys ( ) : self . parameters [ key ] = params [ key ] self . children = list ( ) self . parent_id = None
Constructor.

        See instance variable documentation for more details on parameters.