def __init__(self, prior_lineage=None, engine=None):
        """
        Construct an empty lineage if prior_lineage is None or if its not use it as the list of
        current transformations

        :param prior_lineage: Lineage object to inherit
        :return: new Lineage object
        """
        self.transformations = [] if prior_lineage is None else list(prior_lineage.transformations)
        self.engine = ((engine or ExecutionEngine()) if prior_lineage is None
                       else prior_lineage.engine)
def __init__ ( self , prior_lineage = None , engine = None ) : self . transformations = [ ] if prior_lineage is None else list ( prior_lineage . transformations ) self . engine = ( ( engine or ExecutionEngine ( ) ) if prior_lineage is None else prior_lineage . engine )
Construct an empty lineage if prior_lineage is None or if its not use it as the list of
        current transformations

        :param prior_lineage: Lineage object to inherit
        :return: new Lineage object