def put_object_from_filelike(self, handle: BinaryIO) -> str:
    'Store the byte contents of a file in the repository.\n\n        :param handle: filelike object with the byte content to be stored.\n        :return: the generated fully qualified identifier for the object within the repository.\n        :raises TypeError: if the handle is not a byte stream.\n        '
    if ((not isinstance(handle, io.BufferedIOBase)) and (not self.is_readable_byte_stream(handle))):
        raise TypeError(f'handle does not seem to be a byte stream: {type(handle)}.')
    return self._put_object_from_filelike(handle)
Store the byte contents of a file in the repository.

:param handle: filelike object with the byte content to be stored.
:return: the generated fully qualified identifier for the object within the repository.
:raises TypeError: if the handle is not a byte stream.
def put_object_from_filelike(self, handle: BinaryIO) -> str:
    'Store the byte contents of a file in the repository.\n\n        :param handle: filelike object with the byte content to be stored.\n        :return: the generated fully qualified identifier for the object within the repository.\n        :raises TypeError: if the handle is not a byte stream.\n        '
    if ((not isinstance(handle, io.BufferedIOBase)) and (not self.is_readable_byte_stream(handle))):
        raise TypeError(f'handle does not seem to be a byte stream: {type(handle)}.')
    return self._put_object_from_filelike(handle)