(dataset_url_or_urls)
| 49 | |
| 50 | |
| 51 | def normalize_dataset_url_or_urls(dataset_url_or_urls): |
| 52 | if isinstance(dataset_url_or_urls, list): |
| 53 | if not dataset_url_or_urls: |
| 54 | raise ValueError('dataset url list must be non-empty.') |
| 55 | return [normalize_dir_url(url) for url in dataset_url_or_urls] |
| 56 | else: |
| 57 | return normalize_dir_url(dataset_url_or_urls) |
| 58 | |
| 59 | |
| 60 | def make_reader(dataset_url, |
no test coverage detected
searching dependent graphs…