Skip to content

Commit

Permalink
Merge pull request #996 from PrefectHQ/fix-bot
Browse files Browse the repository at this point in the history
Fix bot
  • Loading branch information
zzstoatzz authored Nov 19, 2024
2 parents a557daa + 8a759fc commit 9051f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/slackbot/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def search_prefect_2x_docs(queries: list[str]) -> str:
"""
if not tpuf.api_key:
tpuf.api_key = (await Secret.load("tpuf-api-key")).get() # type: ignore
tpuf.api_key = Secret.load("tpuf-api-key").get() # type: ignore

return multi_query_tpuf(queries, namespace="prefect-2")

Expand All @@ -44,7 +44,7 @@ def search_prefect_3x_docs(queries: list[str]) -> str:
"""
if not tpuf.api_key:
tpuf.api_key = (await Secret.load("tpuf-api-key")).get() # type: ignore
tpuf.api_key = Secret.load("tpuf-api-key").get() # type: ignore

return multi_query_tpuf(queries, namespace="prefect-3")

Expand Down

0 comments on commit 9051f25

Please sign in to comment.