def __setattr__(self, attr_name, value):
    if (not attr_name.startswith('_')):
        self._proxied = Q(self._proxied.to_dict())
        setattr(self._proxied, attr_name, value)
    super(QueryProxy, self).__setattr__(attr_name, value)
def __setattr__(self, attr_name, value):
    if (not attr_name.startswith('_')):
        self._proxied = Q(self._proxied.to_dict())
        setattr(self._proxied, attr_name, value)
    super(QueryProxy, self).__setattr__(attr_name, value)