From a13d078d9dd02a03b29f33f09d8d04ef212f5dc0 Mon Sep 17 00:00:00 2001 From: Arno Eigenwillig Date: Tue, 9 Dec 2025 22:35:47 -0800 Subject: [PATCH] Clarify the docstring of ocp.args.JsonRestore(). PiperOrigin-RevId: 842547239 --- .../orbax/checkpoint/_src/handlers/json_checkpoint_handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/checkpoint/orbax/checkpoint/_src/handlers/json_checkpoint_handler.py b/checkpoint/orbax/checkpoint/_src/handlers/json_checkpoint_handler.py index 022757099..1f3b09b4c 100644 --- a/checkpoint/orbax/checkpoint/_src/handlers/json_checkpoint_handler.py +++ b/checkpoint/orbax/checkpoint/_src/handlers/json_checkpoint_handler.py @@ -150,6 +150,7 @@ class JsonRestoreArgs(CheckpointArgs): Attributes: item: unused, but included for legacy-compatibility reasons. + New code should not set this attribute. """ item: Optional[bytes] = None