@classmethod
    def _get_complexes(cls, factors):
        complexes = []

        for factor, k in factors:
            complex_part = cls._get_complexes_sqf(factor)
            complexes.extend([(root, factor, k) for root in complex_part])

        return complexes
Decorator for command classes to use to add commands
dataset/ETHPy150Open sympy/sympy/sympy/polys/rootoftools.py/ComplexRootOf._get_complexes--crossover with--dataset/ETHPy150Open rackerlabs/openstack-guest-agents-unix/commands/__init__.py/command_add