arthur/arthur.py
def __parse_archive_args(self, archive_args):
        """Parse the archive arguments of a task"""

        if not archive_args:
            return None

        archiving_args = copy.deepcopy(archive_args)

        if self.archive_path:
            archiving_args['archive_path'] = self.archive_path
        else:
            archiving_args['archive_path'] = os.path.expanduser(ARCHIVES_DEFAULT_PATH)

        return ArchivingTaskConfig.from_dict(archiving_args)
def __parse_archive_args(self, archive_args):
        if not archive_args:
            return None

        archiving_args = copy.deepcopy(archive_args)

        if self.archive_path:
            archiving_args['archive_path'] = self.archive_path
        else:
            archiving_args['archive_path'] = os.path.expanduser(ARCHIVES_DEFAULT_PATH)

        return ArchivingTaskConfig.from_dict(archiving_args)
def __parse_archive_args ( self , archive_args ) : if not archive_args : return None archiving_args = copy . deepcopy ( archive_args ) if self . archive_path : archiving_args [ 'archive_path' ] = self . archive_path else : archiving_args [ 'archive_path' ] = os . path . expanduser ( ARCHIVES_DEFAULT_PATH ) return ArchivingTaskConfig . from_dict ( archiving_args )
Parse the archive arguments of a task
Parse the archive arguments of a task