def _get_client()

in oss-torch-connector/osstorchconnector/oss_iterable_dataset.py [0:0]


    def _get_client(self, id, total):
        if self._client is None:
            self._client = OssClient(self._endpoint, self._cred_path, self._config_path, self._uuid, id, total, cred_provider=self._cred_provider)
            log.info("OssIterableDataset new client")
        self._client._id = id
        self._client._total = total
        return self._client