Skip to content

Commit fdcf7d9

Browse files
authored
Merge pull request #3 from poggiolabs/jillian/add-lru-cache-to-html
chore: add lru cache to filing html
2 parents 45a7148 + 3277c37 commit fdcf7d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

edgar/_filings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,6 +1324,7 @@ def exhibits(self):
13241324
# Return all the exhibits on the filing
13251325
return self.homepage.attachments.exhibits
13261326

1327+
@lru_cache(maxsize=4)
13271328
def html(self) -> Optional[str]:
13281329
"""Returns the html contents of the primary document if it is html"""
13291330
if self.document and not self.document.is_binary() and not self.document.empty:

0 commit comments

Comments
 (0)