Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edu_edfi_airflow/callables/change_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def update_change_versions(
for endpoint in endpoints:
row = [
tenant_code, api_year, endpoint,
context["ds"], context["ts"],
context["dag_run"].start_date.date().isoformat(), context['dag_run'].start_date.isoformat(),
edfi_change_version, True,
row_set["get_deletes"],
]
Expand Down
2 changes: 1 addition & 1 deletion edu_edfi_airflow/callables/total_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def insert_total_counts(
for endpoint in endpoint_counts:
row = [
tenant_code, api_year, endpoint[0],
kwargs["ds"], kwargs["ts"],
kwargs["dag_run"].start_date.date().isoformat(), kwargs['dag_run'].start_date.isoformat(),
endpoint[1]
]
rows_to_insert.append(row)
Expand Down
2 changes: 1 addition & 1 deletion edu_edfi_airflow/dags/edfi_resource_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def chain_task_groups_into_dag(self):

# Set parent directory and create subfolders for each task group.
parent_directory = os.path.join(
self.tenant_code, str(self.api_year), "{{ ds_nodash }}", "{{ ts_nodash }}"
self.tenant_code, str(self.api_year), "{{ dag_run.start_date | ds_nodash }}", "{{ dag_run.start_date | ts_nodash }}"
)

# Resources
Expand Down