Skip to content

Commit 8ab19aa

Browse files
fineguyThe TensorFlow Datasets Authors
authored andcommitted
Make Croissant CmdArgs frozen and serializable.
PiperOrigin-RevId: 642630303
1 parent 8e64e46 commit 8ab19aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_datasets/scripts/cli/croissant.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
from tensorflow_datasets.scripts.cli import cli_utils
3939

4040

41-
@dataclasses.dataclass
42-
class CmdArgs:
41+
@dataclasses.dataclass(frozen=True, kw_only=True)
42+
class CmdArgs(simple_parsing.helpers.FrozenSerializable):
4343
"""CLI arguments for preparing a Croissant dataset.
4444
4545
Attributes:

0 commit comments

Comments
 (0)