def _aa_type(self):
        valid_site_types = ['dc', 'bu', 'office', 'aws']
        if self.value.lower() not in valid_site_types:
            raise ValidationError(
                "{0} not a valid site type".format(self.value)
            )
        if self.value.lower() == 'office':
            self.value = self.value.lower().title()
        else:
            self.value = self.value.upper()
The type of this site. Valid types include: DC, BU, AWS, and Office.
dataset/ETHPy150Open mozilla/inventory/core/site/models.py/SiteKeyValue._aa_type