Skip to content

Commit

Permalink
Remove @Inject from Lane.update_size.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Feb 21, 2024
1 parent d248963 commit e48d168
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/lane.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e48d168

Please sign in to comment.