def METHOD_NAME(self, calendar: "Calendar"):
    self.uid = calendar.uid
    self.name = calendar.name[:MAX_INDEXABLE_LENGTH]
    self.read_only = calendar.read_only
    self.description = calendar.description
    self.default = calendar.default