Skip to content

Commit a13d078

Browse files
arnoegwOrbax Authors
authored andcommitted
Clarify the docstring of ocp.args.JsonRestore().
PiperOrigin-RevId: 842547239
1 parent 9136aa4 commit a13d078

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

checkpoint/orbax/checkpoint/_src/handlers/json_checkpoint_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ class JsonRestoreArgs(CheckpointArgs):
150150
151151
Attributes:
152152
item: unused, but included for legacy-compatibility reasons.
153+
New code should not set this attribute.
153154
"""
154155

155156
item: Optional[bytes] = None

0 commit comments

Comments
 (0)