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 6e6717a commit 823b050Copy full SHA for 823b050
astropylibrarian/workflows/expirerecords.py
@@ -37,8 +37,8 @@ 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)
41
- for r in records.hits:
+ records = await algolia_index.browse_objects(obj).hits
+ for r in records:
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