(self)
return model
Returns the underlying impl.  This can be used to access additional
        field and methods not exposed by Lale.  If only the type of the
        impl is needed, please use self.impl_class instead, as it can be more efficient.

        If the found impl has a _wrapped_model, it will be returned instead
Returns the underlying impl.  This can be used to access additional
        field and methods not exposed by Lale.  If only the type of the
        impl is needed, please use self.impl_class instead, as it can be more efficient.
Returns the underlying impl . This can be used to access additional field and methods not exposed by Lale . If only the type of the impl is needed please use self . impl_class instead as it can be more efficient .
def impl(self) -> Any:
        """Returns the underlying impl.  This can be used to access additional
        field and methods not exposed by Lale.  If only the type of the
        impl is needed, please use self.impl_class instead, as it can be more efficient.

        If the found impl has a _wrapped_model, it will be returned instead
        """
        model = self.shallow_impl
        if model is None:
            return None
        while True:
            base_model = getattr(model, "_wrapped_model", model)
            if base_model is None or base_model is model:
                return model
            model = base_model
        return model
def impl ( self ) -> Any : model = self . shallow_impl if model is None : return None while True : base_model = getattr ( model , "_wrapped_model" , model ) if base_model is None or base_model is model : return model model = base_model return model