<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def export_disks( self, standalone, dst_dir, compress, collect_only=False, with_threads=True, *args, **kwargs ):
 """ Export all the disks of self. Args: standalone (bool):
 if true, merge the base images and the layered image into a new file (Supported only in qcow2 format) dst_dir (str):
 dir to place the exported disks compress(bool):
 if true, compress each disk. collect_only(bool):
 If true, return only a dict which maps between the name of the vm to the paths of the disks that will be exported (don't export anything). with_threads(bool):
 If True, export disks in parallel Returns: (dict):
 which maps between the name of the vm to the paths of the disks that will be exported """

        vm_export_mgr = export.VMExportManager(
            disks=self.vm.disks,
            dst=dst_dir,
            compress=compress,
            with_threads=with_threads,
            standalone=standalone,
            *args,
            **kwargs
        )

        if collect_only:
            return {self.vm.name(): vm_export_mgr.collect_paths()}
        else:
            return {self.vm.name(): vm_export_mgr.export()}