primeqa.util.file_utils.expand_files#

primeqa.util.file_utils.expand_files(input_files, file_pattern='*', completed_files=None)#

expand the list of files and directories :param input_files: :param file_pattern: glob pattern for recursive example ‘.jsonl’ for jsonl and jsonl.gz :param completed_files: these will not be returned in the final list :return: