<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def wrap(self, value):
 """ Wrap the given value with the parent's query grammar. :rtype: str """

        return self._parent.new_query().get_query().get_grammar().wrap(value)