def __init__(self, product_code, description, market_price,
                 rental_price, material, size):
        Inventory.__init__(self, product_code, description,
                           market_price, rental_price)
        # Creates common instance variables from the parent class

        self.material = material
        self.size = size
Example #2
0
 def __init__(self, product_code, description, market_price, rental_price,
              brand, voltage):
     """
     Initializes class
     """
     Inventory.__init__(self, product_code, description, market_price,
                        rental_price)
     # Creates common instance variables from the parent class
     self.brand = brand
     self.voltage = voltage
 def __init__(self, **kwargs):
     Inventory.__init__(self, **kwargs)  #
     self.material = kwargs["item_material"]
     self.size = kwargs["size"]
 def __init__(self, **kwargs):
     Inventory.__init__(self, **kwargs)
     self.brand = kwargs["brand"]
     self.voltage = kwargs["voltage"]