We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95c2f92 + 8974dbf commit 25ad4c9Copy full SHA for 25ad4c9
astropylibrarian/workflows/expirerecords.py
@@ -36,7 +36,9 @@ async def expire_old_records(
36
attributes_to_highlight=[],
37
)
38
old_object_ids: List[str] = []
39
- for r in await algolia_index.browse_objects(obj).hits:
+ # for r in await algolia_index.browse_objects(obj).hits:
40
+ records = await algolia_index.browse_objects(obj)
41
+ for r in records.hits:
42
# Double check that we're deleting the right things.
43
if r.root_url != root_url:
44
logger.warning("root_url does not match: %s", r.root_url)
0 commit comments