(
        self, pipeline_name=None, astype="lale"
    )
.. deprecated:: 0.0.0
           The `get_pipeline` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `get_pipeline`
           on the trained operator returned by `fit` instead.
.. deprecated:: 0.0.0
           The `get_pipeline` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `get_pipeline`
           on the trained operator returned by `fit` instead.
.. deprecated :: 0 . 0 . 0 The get_pipeline method is deprecated on a trainable operator because the learned coefficients could be accidentally overwritten by retraining . Call get_pipeline on the trained operator returned by fit instead .
def get_pipeline(
        self, pipeline_name=None, astype="lale"
    ) -> Optional[TrainableOperator]:
        """
        .. deprecated:: 0.0.0
           The `get_pipeline` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `get_pipeline`
           on the trained operator returned by `fit` instead.

        """
        warnings.warn(_mutation_warning("get_pipeline"), DeprecationWarning)
        try:
            return self._trained.get_pipeline(pipeline_name, astype)
        except AttributeError:
            raise ValueError("Must call `fit` before `get_pipeline`.")
def get_pipeline ( self , pipeline_name = None , astype = "lale" ) -> Optional [ TrainableOperator ] : warnings . warn ( _mutation_warning ( "get_pipeline" ) , DeprecationWarning ) try : return self . _trained . get_pipeline ( pipeline_name , astype ) except AttributeError : raise ValueError ( "Must call `fit` before `get_pipeline`." )