Enter to sendยทShift+Enter new line
client = es_connection.options(headers={'user-agent': self.get_user_agent()})