Skip to content

Commit

Permalink
Remove deprecated _known_handlers property.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 716294171
  • Loading branch information
cpgaffney1 authored and Orbax Authors committed Jan 16, 2025
1 parent 323a50e commit 2269562
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,6 @@ def __init__(

self._metadata_store = checkpoint.metadata_store(enable_write=False)

# 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 2269562

Please sign in to comment.