def __init__(self, ref: str, *args, **kwargs):
    super().__init__(*args, **kwargs)
    self.contents['ref'] = ref
def __init__(self, ref: str, *args, **kwargs):
    super().__init__(*args, **kwargs)
    self.contents['ref'] = ref