From: Mark Huang Date: Thu, 26 Oct 2006 14:51:12 +0000 (+0000) Subject: - id_list is optional X-Git-Tag: pycurl-7_13_1~442 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4d883ec60af45bfde660e1428f42c97e36e9d750;p=plcapi.git - id_list is optional --- diff --git a/PLC/SliceAttributes.py b/PLC/SliceAttributes.py index 2494acf6..f7c3499c 100644 --- a/PLC/SliceAttributes.py +++ b/PLC/SliceAttributes.py @@ -25,13 +25,13 @@ class SliceAttribute(Row): 'value': Parameter(str, "Slice attribute value", max = 254), } -class SliceAttributes(dict): +class SliceAttributes(Table): """ Representation of row(s) from the slice_attribute table in the database. """ - def __init__(self, api, slice_attribute_id_list): + def __init__(self, api, slice_attribute_id_list = None): self.api = api sql = "SELECT %s FROM view_slice_attributes" % \