def _require_client(self, client):
        if client is None:
            client = self._client
        return client
Parse a resource string to get the interface information.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/pubsub/topic.py/Topic._require_client--crossover with--dataset/ETHPy150Open hgrecco/pyvisa/pyvisa/highlevel.py/VisaLibraryBase.parse_resource