* [cherry-pick] Cherry pick python api form branch dev * Also change python gateway server code * Add .gitkeep to license ignore