Skip to content

Commit 5d2c3e5

Browse files
tomvdwThe TensorFlow Datasets Authors
authored andcommitted
Internal change
PiperOrigin-RevId: 704254050
1 parent 4aa203e commit 5d2c3e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow_datasets/core/utils/shard_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
- tfrecord_writer, to read sharded bucket files (temp files), based on final
2121
sharding needs.
2222
"""
23+
2324
from __future__ import annotations
2425

25-
from collections.abc import Sequence
26+
from collections.abc import Iterable, Sequence
2627
import dataclasses
2728
import math
2829
import os

tensorflow_datasets/core/utils/shard_utils_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,5 @@ def test_incorrect_values(self, filename, skip, take, examples_in_shard, msg):
240240
with self.assertRaisesRegex(ValueError, expected_regex=msg):
241241
shard_utils.FileInstruction(filename, skip, take, examples_in_shard)
242242

243-
244243
if __name__ == '__main__':
245244
testing.test_main()

0 commit comments

Comments
 (0)