Skip to content

Commit

Permalink
feat: Added publish message for discord!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Aug 12, 2024
1 parent aaa5090 commit bbc5782
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dags/analyzer_helper/common/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from tc_analyzer_lib.schemas.platform_configs import DiscordAnalyzerConfig
from tc_analyzer_lib.schemas.platform_configs.config_base import PlatformConfigBase
from tc_analyzer_lib.tc_analyzer import TCAnalyzer
from tc_analyzer_lib.publish_on_success import publish_on_success


class Analyzer:
Expand Down Expand Up @@ -34,3 +35,6 @@ def analyze(
else:
logging.info(f"{prefix} append analytics to previous analytics results!")
asyncio.run(analyzer.run_once())

# this will just support discord platform
publish_on_success(platform_id, recompute)

0 comments on commit bbc5782

Please sign in to comment.