def play(self, must_coup, players): logging.info('Player play: {}'.format(must_coup)) headers = {'Must-Coup': 'true' if must_coup else 'false'} r = requests.get(self.uri + "/play/", headers=headers) return Action.decode_action_from_dict(self.__decode_response(r), players)