in oss-torch-connector/osstorchconnector/_oss_bucket_iterable.py [0:0]
def from_manifest_file(cls, manifest_file_path: str, manifest_parser: Callable[[io.IOBase], Iterable[Tuple[str, str]]],
oss_base_uri: str, client: OssClient, preload: bool = False):
if not manifest_file_path:
raise ValueError("manifest_file_path must be non-empty")
if not manifest_parser:
raise ValueError("manifest_parser must be non-empty")
return cls(client, manifest_file_path=manifest_file_path, manifest_parser=manifest_parser,
oss_base_uri=oss_base_uri, preload=preload)