lair.inventories.EDGAR.get_files#
- EDGAR.get_files()[source]#
Recursively get the inventory files for each sector.
If the inventory was made with
startorend, 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 (EDGARv7checks 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:
See also
Inventory.get_filesThe files of an inventory that is not EDGAR.