async def handle_disk_insertion(self, uuid: DiskUUID, disk_info: DiskInfo) -> None:
    'Handle a disk insertion.'
    LOGGER.debug(f'Disk inserted: {uuid} ({disk_info.disk_type})')
    for (disk_type, lifecycle_class) in self.DISK_TYPE_LIFECYCLE_MAP.items():
        if (disk_info.disk_type is disk_type):
            LOGGER.info(f'{disk_type.name} disk {uuid} is mounted at {disk_info.mount_path}')
            if (self._lifecycles[disk_type] is None):
                LOGGER.debug(f'Starting lifecycle for {uuid}')
                self._lifecycles[disk_type] = lifecycle_class(uuid, disk_info, self.config)
                self.update_status()
            else:
                LOGGER.warn('Cannot use metadata, there is already a lifecycle present.')
Handle a disk insertion.
async def handle_disk_insertion(self, uuid: DiskUUID, disk_info: DiskInfo) -> None:
    
    LOGGER.debug(f'Disk inserted: {uuid} ({disk_info.disk_type})')
    for (disk_type, lifecycle_class) in self.DISK_TYPE_LIFECYCLE_MAP.items():
        if (disk_info.disk_type is disk_type):
            LOGGER.info(f'{disk_type.name} disk {uuid} is mounted at {disk_info.mount_path}')
            if (self._lifecycles[disk_type] is None):
                LOGGER.debug(f'Starting lifecycle for {uuid}')
                self._lifecycles[disk_type] = lifecycle_class(uuid, disk_info, self.config)
                self.update_status()
            else:
                LOGGER.warn('Cannot use metadata, there is already a lifecycle present.')