Пример #1
0
def show_engine():
    """ This function is deprecated, please use show_pipeline.
    """
    import warnings

    warnings.warn("The show_engine function is deprecated, please use" "show_pipeline", stacklevel=2)
    return show_pipeline()
Пример #2
0
def show_engine():
    """ This function is deprecated, please use show_pipeline.
    """
    import warnings
    warnings.warn('The show_engine function is deprecated, please use'
                    'show_pipeline', stacklevel=2)
    return show_pipeline()