Skip to content

Commit

Permalink
fix: trimmed cik
Browse files Browse the repository at this point in the history
  • Loading branch information
stehessel committed Oct 11, 2024
1 parent b993491 commit 8cbdbf0
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 8cbdbf0

Please sign in to comment.