Skip to content

Commit

Permalink
Remove deprecated _known_handlers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 663742114
  • Loading branch information
Orbax Authors committed Aug 16, 2024
1 parent 2ce2fb2 commit 806b2f7
Showing 1 changed file with 0 additions and 8 deletions.
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

0 comments on commit 806b2f7

Please sign in to comment.