Skip to content

TenK.get_item_with_part fails to fetch Part II chunks for specific accession number #454

@shamalroy

Description

@shamalroy

Issue Type

  • Data Quality Issue (incorrect financial values, missing data)
  • XBRL Parsing Issue (statement rendering, concept mapping)
  • Filing Access Issue (download failures, attachment problems)
  • Performance Issue (slow operations, memory problems)
  • Compatibility Issue (platform/dependency conflicts)
  • Documentation Issue (unclear instructions, missing examples)

Environment

EdgarTools Version: 4.17.1
Python Version: 3..
Operating System: macOs 27

Bug Description

I came across a bug that seems very specific to one filing accession number.

When I try to get a Part II item using get_item_with_part, it returns None for this accession number:

company = Company('915358') 
filings = company.get_filings(accession_number='0000915358-25-000018') 
filing = filings[0] 
data_obj = filing.obj() 
data_obj.get_item_with_part('Part II', 'Item 7', markdown=False)

However, the same data can be accessed correctly if I fetch the item directly:
data_obj.__getitem__('Item 7') or data_obj.management_discussion

Expected behavior:
get_item_with_part('Part II', 'Item 7') should return the same result as data_obj.getitem('Item 7').

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions