(self, fileId, size, last_updated,
                                     last_accessed, download_url)
return {
            'fileId': fileId,
            'size': filesizeformat(size),
            'lastUpdated': naturaltime(last_updated),
            'lastAccessed': naturaltime(last_accessed),
            'showExpiredWarning': (
                last_accessed and
                last_accessed <
                (datetime.utcnow() - timedelta(days=settings.SAVED_EXPORT_ACCESS_CUTOFF))
            ),
            'downloadUrl': download_url,
        }
Return a dictionary containing details about an emailed export file.
        This will eventually be passed to an Angular controller.
Return a dictionary containing details about an emailed export file.
        This will eventually be passed to an Angular controller.
Return a dictionary containing details about an emailed export file . This will eventually be passed to an Angular controller .
def _fmt_emailed_export_fileData(self, fileId, size, last_updated,
                                     last_accessed, download_url):
        """
        Return a dictionary containing details about an emailed export file.
        This will eventually be passed to an Angular controller.
        """
        return {
            'fileId': fileId,
            'size': filesizeformat(size),
            'lastUpdated': naturaltime(last_updated),
            'lastAccessed': naturaltime(last_accessed),
            'showExpiredWarning': (
                last_accessed and
                last_accessed <
                (datetime.utcnow() - timedelta(days=settings.SAVED_EXPORT_ACCESS_CUTOFF))
            ),
            'downloadUrl': download_url,
        }
def _fmt_emailed_export_fileData ( self , fileId , size , last_updated , last_accessed , download_url ) : return { 'fileId' : fileId , 'size' : filesizeformat ( size ) , 'lastUpdated' : naturaltime ( last_updated ) , 'lastAccessed' : naturaltime ( last_accessed ) , 'showExpiredWarning' : ( last_accessed and last_accessed < ( datetime . utcnow ( ) - timedelta ( days = settings . SAVED_EXPORT_ACCESS_CUTOFF ) ) ) , 'downloadUrl' : download_url , }