Skip to content

Commit

Permalink
Merge pull request #243 from TogetherCrew/fix/242-discord-guild-etl
Browse files Browse the repository at this point in the history
fix: discord_guild_etl, converting period to datetime!
  • Loading branch information
amindadgar authored Aug 7, 2024
2 parents 4b44a02 + d174f26 commit 001fe84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dags/discord_guild_analyzer_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
DiscordTransformRawMembers,
)
from analyzer_helper.discord.fetch_discord_platforms import FetchDiscordPlatforms
from dateutil.parser import parse

with DAG(
dag_id="discord_guild_analyzer_etl",
Expand Down Expand Up @@ -63,7 +64,7 @@ def fetch_discord_platforms(**kwargs) -> dict[str, str | datetime | bool]:
platform = {
"recompute": recompute,
"platform_id": platform_id,
"period": period,
"period": parse(period),
"guild_id": guild_id,
}

Expand Down

0 comments on commit 001fe84

Please sign in to comment.