summaryrefslogtreecommitdiff
path: root/src/srht_contrib/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/srht_contrib/services')
-rw-r--r--src/srht_contrib/services/aggregator.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/srht_contrib/services/aggregator.py b/src/srht_contrib/services/aggregator.py
index 4973f16..32baebd 100644
--- a/src/srht_contrib/services/aggregator.py
+++ b/src/srht_contrib/services/aggregator.py
@@ -65,9 +65,6 @@ class ContributionAggregator:
is_recent_window_backfilled=calendar.is_recent_window_backfilled,
recent_backfill_state=calendar.recent_backfill_state,
recent_backfill_completed_at=calendar.recent_backfill_completed_at,
- is_backfilled=calendar.is_backfilled,
- backfill_state=calendar.backfill_state,
- backfill_completed_at=calendar.backfill_completed_at,
)
def _index_metadata(self, db: Session, actor: str) -> ContributionIndexMetadata:
@@ -90,9 +87,6 @@ class ContributionAggregator:
is_recent_window_backfilled=(tracked_actor.recent_backfill_status == "completed") if tracked_actor is not None else False,
recent_backfill_state=(tracked_actor.recent_backfill_status if tracked_actor is not None else "pending"),
recent_backfill_completed_at=tracked_actor.recent_backfill_completed_at if tracked_actor is not None else None,
- is_backfilled=(tracked_actor.backfill_status == "completed") if tracked_actor is not None else False,
- backfill_state=(tracked_actor.backfill_status if tracked_actor is not None else "pending"),
- backfill_completed_at=tracked_actor.backfill_completed_at if tracked_actor is not None else None,
)
def _query_daily_aggregates(self, db: Session, actor: str, start: date, end: date) -> list[DailyAggregate]: