def __init__(self, inventory_info, material, size):
        """Initializes the class info"""
        # Creates common instance variables from the parent class
        Inventory.__init__(self, inventory_info)

        self.material = material
        self.size = size
Ejemplo n.º 2
0
 def __init__(self, product_code, description, market_price, rental_price,
              material, size):
     # Creates common instance variables from the parent class
     Inventory.__init__(self, product_code, description, market_price,
                        rental_price)
     self.material = material
     self.size = size
Ejemplo n.º 3
0
 def __init__(self, product_code, description, market_price, rental_price,
              brand, voltage):
     """Creates common instance variables from the parent class"""
     Inventory.__init__(self, product_code, description, market_price,
                        rental_price)
     self.brand = brand
     self.voltage = voltage
    def __init__(self, *args):
        # args -> product_code, description, market_price, rental_price, brand, voltage
        Inventory.__init__(self, args[0], args[1], args[2], args[3])
        # Creates common instance variables from the parent class

        self.brand = args[4]
        self.voltage = args[5]
Ejemplo n.º 5
0
    def __init__(self, product_code, description, market_price,
                 rental_price, material, size):

        Inventory.__init__(self, product_code, description, market_price,
                           rental_price)

        self.material = material
        self.size = size
Ejemplo n.º 6
0
    def __init__(self, inventory_info, brand, voltage):
        """Initializes the class info"""

        #Creates common instance variables from the parent class
        Inventory.__init__(self, inventory_info)

        self.brand = brand
        self.voltage = voltage
Ejemplo n.º 7
0
    def __init__(self, product_code, description, market_price, rental_price,
                 brand, voltage):
        # pylint: disable=too-many-arguments
        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, product_code, description, market_price, rental_price,
                 material, size):
        # pylint: disable=too-many-arguments
        Inventory.__init__(self, product_code, description, market_price,
                           rental_price)
        # Creates common instance variables from the parent class

        self.material = material
        self.size = size
Ejemplo n.º 9
0
    def __init__(self, product_code, description, market_price, rental_price,
                 brand, voltage):
        """
        doc string
        """
        Inventory.__init__(self, product_code, description, market_price,
                           rental_price)

        self.brand = brand
        self.voltage = voltage
Ejemplo n.º 10
0
    def __init__(
            self,
            product_code,
            description,
            market_price,
            rental_price,
            *args  # brand, voltage
    ):
        Inventory.__init__(
            self, product_code, description, market_price, rental_price
        )  # Creates common instance variables from the parent class

        self.brand = args[0]
        self.voltage = args[1]
Ejemplo n.º 11
0
    def __init__(
            self,
            product_code,
            description,
            market_price,
            rental_price,
            *args  # material, size
    ):

        Inventory.__init__(
            self, product_code, description, market_price, rental_price
        )  # Creates common instance variables from the parent class
        self.material = args[0]
        self.size = args[1]
Ejemplo n.º 12
0
    def __init__(self, **kwargs):
        Inventory.__init__(self, **kwargs)
        # Creates common instance variables from the parent class

        self.material = kwargs['material']
        self.size = kwargs['size']
Ejemplo n.º 13
0
    def __init__(self, **kwargs):
        Inventory.__init__(self, **kwargs)
            # Creates common instance variables from the parent class

        self.brand = kwargs['brand']
        self.voltage = kwargs['voltage']