def get_default(cls, category):
        """Get the default value of a given category."""
        value = cls._DEFAULTS[category]
        if not value or not isinstance(value, list):
            return value
        return value[0]
def get_default ( cls , category ) : value = cls . _DEFAULTS [ category ] if not value or not isinstance ( value , list ) : return value return value [ 0 ]
Get the default value of a given category.