Skip to content

Commit

Permalink
fixed portfolio not reloading properly
Browse files Browse the repository at this point in the history
  • Loading branch information
john-friedman committed Jan 4, 2025
1 parent 63f3682 commit 2e79b2e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
Binary file modified datamule/datamule/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified datamule/datamule/__pycache__/document.cpython-311.pyc
Binary file not shown.
Binary file modified datamule/datamule/__pycache__/portfolio.cpython-311.pyc
Binary file not shown.
Binary file modified datamule/datamule/__pycache__/submission.cpython-311.pyc
Binary file not shown.
4 changes: 4 additions & 0 deletions datamule/datamule/portfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def download_submissions(self, cik=None, ticker=None, submission_type=None, fili

downloader.download_submissions(output_dir=self.path, cik=cik, ticker=ticker, submission_type=submission_type, filing_date=filing_date
)

# Reload submissions after download
self.__init__(self.path)

def __iter__(self):
return iter(self.submissions)

Expand Down
2 changes: 1 addition & 1 deletion datamule/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
setup(
name="datamule",
author="John Friedman",
version="0.428",
version="0.429",
description="Making it easier to use SEC filings.",
packages=find_namespace_packages(include=['datamule*']),
url="https://github.com/john-friedman/datamule-python",
Expand Down

0 comments on commit 2e79b2e

Please sign in to comment.