diff --git a/core/lane.py b/core/lane.py index ef00b4d510..750331d78e 100644 --- a/core/lane.py +++ b/core/lane.py @@ -2929,10 +2929,7 @@ def uses_customlists(self): return True return False - @inject - def update_size( - self, _db, search_engine: ExternalSearchIndex = Provide["search.index"] - ): + def update_size(self, _db, search_engine: ExternalSearchIndex): """Update the stored estimate of the number of Works in this Lane.""" library = self.get_library(_db)