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 e6ed9f3 + 26eaf42 commit 909c622Copy full SHA for 909c622
astropylibrarian/workflows/expirerecords.py
@@ -36,8 +36,7 @@ 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):
40
- print(r)
+ for r in await algolia_index.browse_objects(obj).hits:
41
# Double check that we're deleting the right things.
42
if r.root_url != root_url:
43
logger.warning("root_url does not match: %s", r.root_url)
0 commit comments