(self, deep: Union[bool, Literal[0]] = True)
return out
If deep is False, additional '_lale_XXX' fields are added to support
        cloning.  If these are not desires, deep=0 can be used to disable this
If deep is False, additional '_lale_XXX' fields are added to support
        cloning.  If these are not desires, deep=0 can be used to disable this
If deep is False additional _lale_XXX fields are added to support cloning . If these are not desires deep = 0 can be used to disable this
def get_params(self, deep: Union[bool, Literal[0]] = True) -> Dict[str, Any]:
        """
        If deep is False, additional '_lale_XXX' fields are added to support
        cloning.  If these are not desires, deep=0 can be used to disable this
        """
        out: Dict[str, Any] = {}
        out["steps"] = self._steps
        if deep is False:
            out["_lale_preds"] = self._get_preds_indices()

        indices: Dict[str, int] = {}

        def make_indexed(name: str) -> str:
            idx = 0
            if name in indices:
                idx = indices[name] + 1
                indices[name] = idx
            else:
                indices[name] = 0
            return make_indexed_name(name, idx)

        if deep:
            for op in self._steps:
                name = make_indexed(op.name())
                nested_params = op.get_params(deep=deep)
                if nested_params:
                    out.update(nest_HPparams(name, nested_params))
        return out
def get_params ( self , deep : Union [ bool , Literal [ 0 ] ] = True ) -> Dict [ str , Any ] : out : Dict [ str , Any ] = { } out [ "steps" ] = self . _steps if deep is False : out [ "_lale_preds" ] = self . _get_preds_indices ( ) indices : Dict [ str , int ] = { } def make_indexed ( name : str ) -> str : idx = 0 if name in indices : idx = indices [ name ] + 1 indices [ name ] = idx else : indices [ name ] = 0 return make_indexed_name ( name , idx ) if deep : for op in self . _steps : name = make_indexed ( op . name ( ) ) nested_params = op . get_params ( deep = deep ) if nested_params : out . update ( nest_HPparams ( name , nested_params ) ) return out