Skip to content

Commit

Permalink
Remove dag_id
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiramin committed Dec 8, 2024
1 parent e15c205 commit 3b91f4c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ def create_new_es_index_dag(dag_config: CreateNewIndex):
f"New index { index_name } was successfully created with alias"
"{{ params.target_alias }}."
),
dag_id=dag.dag_id,
username="Create New ES Index",
icon_emoji=":elasticsearch:",
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ def create_proportional_by_source_staging_index():
trigger_rule=TriggerRule.NONE_FAILED
)(
text=f"Reindexing complete for {destination_index_name}.",
dag_id=DAG_ID,
username="Proportional by Source Staging Index Creation",
icon_emoji=":elasticsearch:",
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def point_es_alias_dag(environment: str):
trigger_rule=TriggerRule.NONE_FAILED
)(
text="Alias {{ params.target_alias }} applied to index {{ params.target_index }}.",
dag_id=dag.dag_id,
username="Point Alias",
icon_emoji=":elasticsearch:",
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ def recreate_full_staging_index():
f"{new_index_suffix}` aliased to `{target_alias}`."
),
username="Full Staging Index Creation",
dag_id=DAG_ID,
)

# Set up dependencies
Expand Down
2 changes: 0 additions & 2 deletions catalog/dags/popularity/popularity_refresh_dag_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def create_popularity_refresh_dag(popularity_refresh: PopularityRefresh):
" constants update_",
username=SLACK_USERNAME,
icon_emoji=SLACK_EMOJI,
dag_id=popularity_refresh.dag_id,
)

update_constants = (
Expand Down Expand Up @@ -139,7 +138,6 @@ def create_popularity_refresh_dag(popularity_refresh: PopularityRefresh):
" popularity scores_",
username=SLACK_USERNAME,
icon_emoji=SLACK_EMOJI,
dag_id=popularity_refresh.dag_id,
)

# Once popularity constants have been calculated, establish the cutoff time
Expand Down

0 comments on commit 3b91f4c

Please sign in to comment.