from item_category import ItemCategory


class BackstagePass(ItemCategory):

    def update_expired(self, item):
        item.quality = 0

    def update_quality(self, item):
        self.increase_quality(item)
        if item.sell_in <= 10:
            self.increase_quality(item)
        if item.sell_in <= 5:
            self.increase_quality(item)

747df4f70f9217b29a4dc43f8761b0678904bd7e
<mask token>


class BackstagePass(ItemCategory):
    <mask token>
    <mask token>

<mask token>


class BackstagePass(ItemCategory):
    <mask token>

    def update_quality(self, item):
        self.increase_quality(item)
        if item.sell_in <= 10:
            self.increase_quality(item)
        if item.sell_in <= 5:
            self.increase_quality(item)

<mask token>


class BackstagePass(ItemCategory):

    def update_expired(self, item):
        item.quality = 0

    def update_quality(self, item):
        self.increase_quality(item)
        if item.sell_in <= 10:
            self.increase_quality(item)
        if item.sell_in <= 5:
            self.increase_quality(item)

from item_category import ItemCategory


class BackstagePass(ItemCategory):

    def update_expired(self, item):
        item.quality = 0

    def update_quality(self, item):
        self.increase_quality(item)
        if item.sell_in <= 10:
            self.increase_quality(item)
        if item.sell_in <= 5:
            self.increase_quality(item)
