Skip to content

Commit

Permalink
Remove old dataclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
augusto-herrmann committed Aug 27, 2024
1 parent 0e00319 commit 71f0b9c
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions src/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,48 +12,6 @@
from schemas import RoDouConfig, DAGConfig


# TODO: remove old dataclasses
# @dataclass
# class SearchConfig:
# header: str
# sources: List[str]
# territory_id: int
# dou_sections: List[str]
# field: str
# search_date: str
# is_exact_search: bool
# ignore_signature_match: bool
# force_rematch: bool
# full_text: bool
# use_summary: bool
# terms: List[str]
# sql: str
# conn_id: str
# department: List[str]


# @dataclass
# class DAGConfig:
# dag_id: str
# search: List[SearchConfig]
# emails: List[str]
# subject: str
# attach_csv: bool
# discord_webhook: str
# slack_webhook: str
# schedule: str
# dataset: str
# description: str
# skip_null: bool
# doc_md: str
# dag_tags: Set[str]
# owner: str
# hide_filters: bool
# header_text: str
# footer_text: str
# no_results_found_text: str


class YAMLParser:
"""Parses YAML file and get the DAG parameters.
Expand Down

0 comments on commit 71f0b9c

Please sign in to comment.