def __init__(self, case=None):
        if case is None:
            case = 'upper'
        assert case in ['lower', 'upper', 'capitalize']
        self.convert = getattr(text_type, case)
dataset/ETHPy150Open andialbrecht/sqlparse/sqlparse/filters.py/_CaseFilter.__init__/original