Skip to content

Commit

Permalink
fix: trimmed cik (#43)
Browse files Browse the repository at this point in the history
only remove extra zeros from left of CIK number
  • Loading branch information
stehessel authored Oct 24, 2024
1 parent 8d495cd commit 596b465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edgar_tool/text_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _parse_row(row: Dict[str, Any]) -> Dict[str, Any]:

# Fetching and cleaning CIKs
ciks = _source.get("ciks")
ciks_trimmed: List[str] = [c.strip("0") for c in ciks]
ciks_trimmed: List[str] = [c.lstrip("0") for c in ciks]

# Get form and human readable name
root_form = _source.get("root_form")
Expand Down

0 comments on commit 596b465

Please sign in to comment.