def get_css_classes(self):
        css_classes = set(self.default_css_classes)

        if self.is_required:
            css_classes.add('required')

        return css_classes
Returns the list of CSS classes to apply to the element.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/fields.py/BaseReviewRequestField.get_css_classes