Skip to content

Commit 211bd3f

Browse files
h-jooThe TensorFlow Datasets Authors
authored and
The TensorFlow Datasets Authors
committed
Automated Code Change
PiperOrigin-RevId: 753088107
1 parent fb11d8d commit 211bd3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow_datasets/core/dataset_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def set_nondeterministic_order(self, nondeterministic_order: bool) -> None:
419419
def homepage(self) -> str:
420420
urls = self.as_proto.location.urls
421421
tfds_homepage = f"https://www.tensorflow.org/datasets/catalog/{self.name}"
422-
return urls and urls[0] or tfds_homepage
422+
return urls and urls[0] or tfds_homepage # pytype: disable=bad-return-type
423423

424424
@property
425425
def citation(self) -> str:

tensorflow_datasets/core/load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def load_dataset(
379379
raise RuntimeError(
380380
f'Unsupported return type {type(load_output)} of `load` function.'
381381
)
382-
return loaded_datasets
382+
return loaded_datasets # pytype: disable=bad-return-type
383383

384384
def load_datasets(
385385
self,

0 commit comments

Comments
 (0)