def validate_checkpoint_id()

in dataflux_pytorch/lightning/gcs_filesystem.py [0:0]


    def validate_checkpoint_id(cls, checkpoint_id: Union[str,
                                                         os.PathLike]) -> bool:
        if isinstance(checkpoint_id, Path):
            return True
        # parse_gcs_path will raise exception if path is not in valid.
        parse_gcs_path(checkpoint_id)
        return True