Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated _known_handlers #1072

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions checkpoint/orbax/checkpoint/composite_checkpoint_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,14 +487,6 @@ def __init__(
self._handler_registry,
)

# TODO: b/359524229 - Remove this property as it has been deprecated.
@property
def _known_handlers(self) -> Dict[str, Optional[CheckpointHandler]]:
logging.info(
'`_known_handlers` has been deprecated and should not be used.'
)
return dict(self._get_all_registered_and_unregistered_items_and_handlers())

def _get_all_registered_and_unregistered_items_and_handlers(
self,
) -> list[tuple[str, Optional[CheckpointHandler]]]:
Expand Down
Loading