def METHOD_NAME(self):
    self.optional = True
    if self.associated_type is not None:
        associated_type = self.associated_type
        self.associated_type = Optional[associated_type]
    return self