[core][py] add echo to gc_engine_func.py