Skip to content

Commit

Permalink
Merge pull request #48 from astropy/algolia_4
Browse files Browse the repository at this point in the history
Placeholder index names to test downstream CI
  • Loading branch information
jeffjennings authored Oct 30, 2024
2 parents d7c861f + 28aa580 commit 6cf559f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion astropylibrarian/workflows/indexjupyterbookpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def index_jupyterbook_page(
logger.debug(
"Indexing %d records for Jupyter Book page at %s", len(records), url
)
response = await algolia_index.save_objects(records=records)
response = await algolia_index.save_objects(index_name="", objects=records)
logger.debug("Algolia save_objects: %s", response.raw_responses)

object_ids = [r["objectID"] for r in records]
Expand Down
2 changes: 1 addition & 1 deletion astropylibrarian/workflows/indextutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def index_tutorial(

saved_object_ids: List[str] = []
try:
response = await algolia_index.save_objects(objects=records)
response = await algolia_index.save_objects(index_name="", objects=records)
except RequestException as e:
logger.error(
"Error saving objects for tutorial %s:\n%s",
Expand Down

0 comments on commit 6cf559f

Please sign in to comment.