Skip to content

Commit

Permalink
Remove duplicate filing category to form id code
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-gillard authored Jul 28, 2024
1 parent e30880b commit eb2583a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
13 changes: 0 additions & 13 deletions edgar_tool/constants.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
SUPPORTED_OUTPUT_EXTENSIONS = [".csv", ".jsonl", ".json"]
TEXT_SEARCH_BASE_URL = "https://efts.sec.gov/LATEST/search-index?"
TEXT_SEARCH_FILING_CATEGORIES_MAPPING = {
"all_except_section_16": "form-cat0",
"all_annual_quarterly_and_current_reports": "form-cat1",
"all_section_16": "form-cat2",
"beneficial_ownership_reports": "form-cat3",
"exempt_offerings": "form-cat4",
"registration_statements": "form-cat5",
"filing_review_correspondence": "form-cat6",
"sec_orders_and_notices": "form-cat7",
"proxy_materials": "form-cat8",
"tender_offers_and_going_private_tx": "form-cat9",
"trust_indentures": "form-cat10",
}
TEXT_SEARCH_SPLIT_BATCHES_NUMBER = 2
TEXT_SEARCH_CSV_FIELDS_NAMES = [
"root_form",
Expand Down
16 changes: 0 additions & 16 deletions edgar_tool/url_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
from urllib import parse


filing_category_to_sec_form_id = {
"all": "",
"all_except_section_16": "form-cat0",
"all_annual_quarterly_and_current_reports": "form-cat1",
"all_section_16": "form-cat2",
"beneficial_ownership_reports": "form-cat3",
"exempt_offerings": "form-cat4",
"registration_statements": "form-cat5",
"filing_review_correspondence": "form-cat6",
"sec_orders_and_notices": "form-cat7",
"proxy_materials": "form-cat8",
"tender_offers_and_going_private_tx": "form-cat9",
"trust_indentures": "form-cat10",
}


class SearchQueryKwargs(TypedDict, total=False):
keywords: list[str]
entity: str
Expand Down

0 comments on commit eb2583a

Please sign in to comment.