def __init__(self, **kwargs): kwargs['elem_type'] = ElementType.External PoolBaseObject.__init__(self, **kwargs)
def __init__(self, **kwargs): SardanaObjectID.__init__(self, id=kwargs.pop('id')) PoolBaseObject.__init__(self, **kwargs)
def serialize(self, *args, **kwargs): kwargs = PoolBaseObject.serialize(self, *args, **kwargs) kwargs = SardanaObjectID.serialize(self, *args, **kwargs) return kwargs