def get(self):
        basic_properties = BasicProperties(correlation_id=self.correlation_id,
                                           user_id=self.user_id)
        body = self.body
        if isinstance(body, dict):
            body = json.dumps(self.body)
        try:
            return {"exchange": self.publish_exchange,
                    "routing_key": self.routing_key,
                    "properties": basic_properties,
                    "body": body}
        except ValueError as err:
            self.logger.error(err % "Invalid message (%s)")
dataset/ETHPy150Open comodit/synapse-agent/synapse/task.py/AmqpTask.get/swapped operands of `%`