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.
1 parent 1b42ee7 commit 5c6a874Copy full SHA for 5c6a874
astropylibrarian/workflows/expirerecords.py
@@ -37,7 +37,9 @@ async def expire_old_records(
37
)
38
old_object_ids: List[str] = []
39
# for r in await algolia_index.browse_objects(obj).hits:
40
- records = await algolia_index.browse_objects(obj).hits
+ # records = await algolia_index.browse_objects(obj).hits
41
+ response = await algolia_index.browse_objects(obj)
42
+ records = response.get("hits")
43
for r in records:
44
# Double check that we're deleting the right things.
45
if r.root_url != root_url:
0 commit comments