oss-torch-connector/osstorchconnector/oss_iterable_dataset.py [37:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if not endpoint:
            raise ValueError("endpoint must be non-empty")
        if not cred_path:
            self._cred_path = ""
        else:
            self._cred_path = cred_path
        self._cred_provider = cred_provider
        if not config_path:
            self._config_path = ""
        else:
            self._config_path = config_path
        self._get_dataset_objects = get_dataset_objects
        self._transform = transform
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



oss-torch-connector/osstorchconnector/oss_map_dataset.py [39:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if not endpoint:
            raise ValueError("endpoint must be non-empty")
        if not cred_path:
            self._cred_path = ""
        else:
            self._cred_path = cred_path
        self._cred_provider = cred_provider
        if not config_path:
            self._config_path = ""
        else:
            self._config_path = config_path
        self._get_dataset_objects = get_dataset_objects
        self._transform = transform
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



