An open source, non-profit web search engine
Build: fix build-only lint errors
blueheron78669cbdac54367
diff --git a/mwmbl/crawler/stats.py b/mwmbl/crawler/stats.pyindex 9b58c0c..4f04264 100644--- a/mwmbl/crawler/stats.py+++ b/mwmbl/crawler/stats.py@@ -3,16 +3,13 @@ from datetime import date, datetime, timedelta, timezonefrom glob import globfrom itertools import islicefrom logging import getLogger-from urllib.parse import urlparseimport djangofrom pydantic import BaseModelfrom redis import Redisfrom mwmbl.count_urls import get_counts, get_domain_result_count-from mwmbl.crawler.batch import HashedBatch, Result, Results-from mwmbl.crawler.urls import URLDatabase-from mwmbl.indexer.update_urls import get_datetime_from_timestamp+from mwmbl.crawler.batch import HashedBatch, Resultsfrom mwmbl.utils import utc_todaylogger = getLogger(__name__)diff --git a/mwmbl/platform/schemas.py b/mwmbl/platform/schemas.pyindex 104f6a6..5bf429b 100644--- a/mwmbl/platform/schemas.py+++ b/mwmbl/platform/schemas.py@@ -15,14 +15,6 @@ class UserProfileResponse(Schema):date_joined: datetime-class UserStatsResponse(Schema):- """Per-user contribution stats for the logged-in user."""-- username: str- results_indexed_today: int- results_indexed_daily: dict[str, int]--class SubscriptionResponse(Schema):status: strmax_monthly_spend_cents: int