def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)
    self.required_keys = {'length'}
def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)
    self.required_keys = {'length'}