def client(self):
        """The client used in perforce queries"""
        if isinstance(self._client, six.string_types):
            self._client = Client(self._client, self)

        return self._client