def exists(self):
        return self.database.select_one("""
            SELECT EXISTS(
                SELECT 1 FROM information_schema.partitions
                WHERE table_name='{parent_table}' AND partition_name='{name}');
        """.format(parent_table=self.table, name=self._get_name()))
Documentation for functionOne, this may raise an WrongException.
dataset/ETHPy150Open maxtepkeev/architect/architect/databases/mysql/partition.py/Partition.exists--crossover with--dataset/ETHPy150Open manahl/PythonTrainingExercises/Advanced/ExceptionDecorator/solution/Decorators.py/functionOne