flatten#

gwpy.io.cache.flatten(*caches: list[CacheEntryType]) list[CacheEntryType][source]#

Flatten a nested list of cache entries.

Parameters:
cacheslist

One or more lists of file paths (str or CacheEntry).

Returns:
flatlist

A flat list containing the unique set of entries across each input.