def __init__(self, component, tpls): """Initialize the attribute. Do not forget to call Attribute.__init__() on a custom constructor Args: component: the parent component which owns the attribute instance tpls: templates assosiated with this attribute """ Entity.__init__(self, name=self.atype, parent=component, templates=tpls)
def __init__(self, args, tpls, store): Entity.__init__(self, self.name[0], store, parent=None, templates=tpls) self._args = args self._id = None
def __init__(self, name, command, tpls={}): Entity.__init__(self, name, parent=command, templates=tpls)
def __init__(self, name, command, tpls={}): self._meta = {} Entity.__init__(self, name, parent=command, templates=tpls)
def __init__(self, name, command): Entity.__init__(self, name, parent=command)
def __init__(self, args, store): Entity.__init__(self, self.name[0], store, parent=None) self._args = args self._create_components()
def __init__(self, args, tpls, store): Entity.__init__(self, self.name, store, parent=None, templates=tpls) self._args = args self._id = None
def __init__(self, component): Entity.__init__(self, name=self.atype, parent=component)