<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self, resource, timeout=-1):
 """ Delete all the labels for a resource. Args: resource (dict):
 Object to delete. timeout: Timeout in seconds. Wait for task completion by default. The timeout does not abort the operation in OneView, just stop waiting for its completion. """

        self._client.delete(resource=resource, timeout=timeout)