@db.validates('category')
    def validate_category(self, key, category):
        assert ('basic', 'map') in category
        return category
dataset/ETHPy150Open eleme/polaris/polaris/models.py/Chart.validate_category/swapped operands of `in`