Skip to content

Commit

Permalink
Merge pull request #241 from TogetherCrew/feat/240-discourse-analyzer…
Browse files Browse the repository at this point in the history
…-config

feat: Added discourse analyzer config!
  • Loading branch information
amindadgar authored Aug 7, 2024
2 parents 3634811 + 4311a65 commit 4b44a02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dags/discourse_analyzer_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from analyzer_helper.discourse.extract_raw_members import ExtractRawMembers
from analyzer_helper.discourse.transform_raw_data import TransformRawInfo
from analyzer_helper.discourse.transform_raw_members import TransformRawMembers
from tc_analyzer_lib.schemas.platform_configs import DiscourseAnalyzerConfig

with DAG(
dag_id="discourse_analyzer_etl",
Expand Down Expand Up @@ -193,6 +194,7 @@ def analyze_discourse(platform_processed: dict[str, str | bool]) -> None:
action=action,
window=window,
recompute=recompute,
config=DiscourseAnalyzerConfig(),
)

platform_modules = fetch_discourse_platforms()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ redis===5.0.4
tc-wikipedia-lib==1.0.1
llama-index-readers-file==0.1.22
docx2txt==0.8
tc-analyzer-lib==1.2.3
tc-analyzer-lib==1.4.0

0 comments on commit 4b44a02

Please sign in to comment.