Skip to content

Commit

Permalink
Merge pull request #248 from TogetherCrew/feat/analyzer-helpers-disco…
Browse files Browse the repository at this point in the history
…urse

fix: wrong platform_data key retrieving!
  • Loading branch information
amindadgar authored Aug 7, 2024
2 parents 587edf3 + c73026a commit e5429dc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dags/discourse_analyzer_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,10 @@ def analyze_discourse(platform_processed: dict[str, str | bool]) -> None:

platform_data = fetcher.fetch_analyzer_parameters(platform_id)

metadata = platform_data["metadata"]
period = metadata["period"]
action = metadata["action"]
window = metadata["window"]
resources = metadata["resources"]
period = platform_data["period"]
action = platform_data["action"]
window = platform_data["window"]
resources = platform_data["resources"]

analyzer = Analyzer()

Expand Down

0 comments on commit e5429dc

Please sign in to comment.