<s> from lacore . adf . persist import make_adf <EOL> from lacore . archive import restore_archive as _restore_archive <EOL> from lacli . nice import with_low_priority <EOL> from lacli . hash import HashIO <EOL> def archive_handle ( docs ) : <EOL> h = HashIO ( ) <EOL> make_adf ( docs , out = h ) <EOL> return h . getvalue ( ) . encode ( '<STR_LIT>' ) <EOL> restore_archive = with_low_priority ( _restore_archive ) </s>
