update for python target's breaking change