[PATCH] [wip] python: add the get_hosts status support