<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_by_resource(self, resource_uri):
 """ Gets all the labels for the specified resource Args: resource_uri: The resource URI Returns: dict: Resource Labels """

        uri = self.URI + self.RESOURCES_PATH + '/' + resource_uri
        return self._client.get(id_or_uri=uri)