class Extract:
    def __init__(self, number):
        self.number = number

    def extract(self, number):
        self.number = number
        return number

class Extract:
    def __init__(self):
        #self.number = number
        pass

    def extract(self, number):
        self.number = number
        return number

Update extractor.py