[python] wrap astar_search