lair.inventories.EDGAR.get_files#

EDGAR.get_files()[source]#

Recursively get the inventory files for each sector.

If the inventory was made with start or end, only the files of those years are returned, chosen by the year in each file’s name: no file is opened. A file whose name is not one the version writes (EDGARv7 checks this) is left out with a warning that names it.

Returns:

list[Path] – The inventory files.

Raises:

FileNotFoundError – If there are files, but none for the years asked.

Return type:

list[Path]

See also

Inventory.get_files

The files of an inventory that is not EDGAR.